30 Apr, 2013

1 commit


22 Feb, 2013

1 commit

  • On systems with 4096 cores doing a cat /proc/sched_stat fails,
    because we are trying to push all the data into a single kmalloc
    buffer.

    The issue is on these very large machines all the data will not
    fit in 4mb.

    A better solution is to not use the single_open() mechanism but
    to provide our own seq_operations.

    The output should be identical to previous version and thus not
    need the version number.

    Reported-by: Dave Jones
    Signed-off-by: Nathan Zimmer
    Cc: Peter Zijlstra
    Cc: Wu Fengguang
    [ Fix memleak]
    [ Fix spello in comment]
    [ Fix warnings]
    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar

    Nathan Zimmer
     

27 Jan, 2012

1 commit

  • Currently we don't utilize the sched_switch field anymore.

    But, simply removing sched_switch field from the middle of the
    sched_stat output will break tools.

    So, to stay compatible we hardcode it to zero and remove the
    field from the scheduler data structures.

    Update the schedstat documentation accordingly.

    Signed-off-by: Rakib Mullick
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1327422836.27181.5.camel@localhost.localdomain
    Signed-off-by: Ingo Molnar

    Rakib Mullick
     

17 Nov, 2011

1 commit