lkml.org 
[lkml]   [2016]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] seq: Speed up /proc/<pid>/smaps
Date
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(-)

--
2.8.0.rc4.16.g56331f8

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.068 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site