lkml.org 
[lkml]   [2010]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 12/14] vmscan: Do not writeback pages in direct reclaim
    On Tue, Jul 06, 2010 at 10:27:58PM +0200, Johannes Weiner wrote:
    > It bypasses the fs. On swapon, the blocks are resolved
    > (mm/swapfile.c::setup_swap_extents) and then the writeout path uses
    > bios directly (mm/page_io.c::swap_writepage).
    >
    > (GFP_NOFS still includes __GFP_IO, so allows swapping)

    Exactly. Note that while the stack problems for swap writeout aren't
    as bad as for filesystems as the whole allocator / extent map footprint
    is missing it might still be an issue. We still splice the whole block
    I/O stack footprint over a random stack that might be filled up a lot.


    \
     
     \ /
      Last update: 2010-07-07 03:17    [W:0.038 / U:4.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site