lkml.org 
[lkml]   [2011]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/3] Replace kmalloc with vmalloc in seq_files
From
Date
On Thu, 2011-09-22 at 13:57 -0700, Colin Cross wrote:
>
> seq_files are often used for debugging data. When the system is under
> memory pressure, and dumping debugging data starts trying to allocate
> large physically contiguous buffers, it often makes the problem
> worse.

Shouldn't you be using ->next instead of dumping everything in a single
seqop? That way it can return partial buffers and keep state etc.


\
 
 \ /
  Last update: 2011-09-22 23:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site