lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH] page reclaim throttle take2
    On Tue, 26 Feb 2008 22:18:38 +0100
    Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

    > > +out:
    > > + atomic_dec(&zone->nr_reclaimers);
    > > + wake_up_all(&zone->reclaim_throttle_waitq);
    > > +
    > > + return ret;
    > > +}
    >
    > Would it be possible - and worthwhile - to make this FIFO fair?
    >
    I think it doesn't make sense for fairness.

    IMHO, this functionality is an unfair one in nature. While someone is
    reclaiming pages, other processes can get a newly reclaimed page without
    calling try_to_free_page.

    For high-priority processes,

    1. avoiding diving into try_to_free_pages if it's congested.
    2. just waiting for that someone relcaim pages and grab it ASAP

    maybe good for quick work.

    Thanks,
    -Kame



    \
     
     \ /
      Last update: 2008-02-27 01:51    [W:0.022 / U:31.876 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site