On Tue, 27 May 2008 11:54:02 -0400
Lee Schermerhorn <Lee.Schermerhorn@hp.com> wrote:
In my understanding, 2 checks we have to do.
1. When memcg finds PG_noreclaim page in its LRU, move it to noreclaim list of
memcg.
2. When PG_noreclaim page is moved back to generic LRU, memcg should move
it on its list. (we have to add a hook somewhere.)
But this may break current 'loose' synchronization between global LRU and
memcg's LRU. When PG_noreclaim page is put back into active/inactive LRU ?
concerns are
A. how to implement '2'
B. race condtions.
But maybe we don't have to write a big patch.
Thanks,
-Kame
--