lkml.org 
[lkml]   [2005]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][5/?] count writeback pages in nr_scanned
    On Thu, Jan 06, 2005 at 04:06:34PM +1100, Nick Piggin wrote:
    > Yeah I guess that isn't a bad idea.
    >
    > Doesn't that have the theoretical problem of slowing down reclaim
    > of dirty pages backed by fast devices when you have slow devices
    > writing?

    Andrew just suggested to wait on any random page. That's a minor
    modification to that logic. Effectively it's stupid to wait on a
    specific random page, when we can wait wait on _any_ random page to
    complete the writeback I/O.

    With locking done right by setting the state to uninterruptible and
    then registering in the new waitqueue when we know at least one page has
    PG_writeback set, we can then drop the HZ anti-deadlock hacks too.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.022 / U:32.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site