lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mmtom: Prevent shrinking of active anon lru list in case of no swap space V2
Date
> 
> Changelog since V2
> o Add new function - can_reclaim_anon : it tests anon_list can be reclaim
>
> Changelog since V1
> o Use nr_swap_pages <= 0 in shrink_active_list to prevent scanning of active anon list.
>
> Now shrink_active_list is called several places.
> But if we don't have a swap space, we can't reclaim anon pages.
> So, we don't need deactivating anon pages in anon lru list.
>
> Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Rik van Riel <riel@redhat.com>

looks good to me. thanks :)





\
 
 \ /
  Last update: 2009-05-14 13:29    [W:0.076 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site