aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorNathan Zimmer <[email protected]>2013-03-26 19:56:30 -0500
committerThomas Gleixner <[email protected]>2013-04-17 20:51:02 +0200
commitb3956a896ea57f25cacd74708b8fab611543a81d (patch)
treeb80f2805317d0faa493086d89abaaccfe6143a69 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent60cf7ea849e77c8782dee147cfb8c38d1984236e (diff)
timer_list: Convert timer list to be a proper seq_file
When running with 4096 cores attemping to read /proc/timer_list will fail with an ENOMEM condition. On a sufficantly large systems the total amount of data is more then 4mb, so it won't fit into a single buffer. The failure can also occur on smaller systems when memory fragmentation is high as reported by Dave Jones. Convert /proc/timer_list to a proper seq_file with its own iterator. This is a little more complex given that we have to make two passes with two separate headers. sysrq_timer_list_show also needed to be updated to reflect the fact that now timer_list_show only does one cpu at at time. Signed-off-by: Nathan Zimmer <[email protected]> Reported-by: Dave Jones <[email protected]> Cc: John Stultz <[email protected]> Cc: Stephen Boyd <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions