lkml.org 
[lkml]   [2008]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] vmscan: bail out of page reclaim after swap_cluster_max pages
KOSAKI Motohiro wrote:

> 1. reclaim 32 page from ZONE_HIGHMEM
> 2. reclaim 32 page from ZONE_NORMAL
> 3. reclaim 32 page from ZONE_DMA
> 4. exit reclaim
> 5. another task call page alloc and it cause try_to_free_pages()
> 6. reclaim 32 page from ZONE_HIGHMEM
> 7. reclaim 32 page from ZONE_NORMAL
> 8. reclaim 32 page from ZONE_DMA

>> - have direct reclaim tasks continue when priority == DEF_PRIORITY
>
> disagreed.
> it cause above bad scenario, I think.

I think I did not explain it clearly. Let me illustrate
with a new patch. (one moment :))

--
All rights reversed.


\
 
 \ /
  Last update: 2008-11-24 20:21    [from the cache]
©2003-2011 Jasper Spaans