Re: [PATCH 5/5] mm improvements

Nick Piggin
2004-02-04T10:22:43Z

Andrew Morton wrote:

>Nick Piggin <piggin@cyberone.com.au> wrote:
>
>>It allows two scans at the two lowest priorities before breaking out or
>> doing a blk_congestion_wait, for both try_to_free_pages and balance_pgdat.
>>
>
>This seems to be fairly equivalent to simply subtracting one from
>DEF_PRIORITY.
>
>

Sort of - except in the case where nr_inactive >> priority
is less than nr_pages*2. Oh and this also allows another
shot at refilling the inactive list.