Skip to content

seq: Speed up /proc/<pid>/smaps

Joe Perches linux-fsdevel linux-mm lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2seq_file: Add __seq_open_private_bufsize for seq file_operation sizesfs/seq_file.c include/linux/seq_file.h+34 -00 replies
2/2proc: task_mmu: Reduce output processing cpu timefs/proc/task_mmu.c+48 -464 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] seq: Speed up /proc/<pid>/smaps

Doing a simple cat of these files can take a lot more cpu than it should. Optimize it a bit.

Joe Perches (2):
seq_file: Add __seq_open_private_bufsize for seq file_operation sizes
proc: task_mmu: Reduce output processing cpu time

 fs/proc/task_mmu.c       | 94 ++++++++++++++++++++++++------------------------
 fs/seq_file.c            | 31 ++++++++++++++++
 include/linux/seq_file.h |  3 ++
 3 files changed, 82 insertions(+), 46 deletions(-)
Signature · 7 lines
2.8.0.rc4.16.g56331f8

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>