[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
    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    [W:0.020 / U:1.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site