Re: [patch 10/11] mm: memcg: only check swap cache pages for repeated charging

2012-07-09 Thread Michal Hocko
On Thu 05-07-12 02:45:02, Johannes Weiner wrote: > Only anon and shmem pages in the swap cache are attempted to be > charged multiple times, from every swap pte fault or from > shmem_unuse(). No other pages require checking PageCgroupUsed(). > > Charging pages in the swap cache is also serialized

Re: [patch 10/11] mm: memcg: only check swap cache pages for repeated charging

2012-07-08 Thread Kamezawa Hiroyuki
(2012/07/05 9:45), Johannes Weiner wrote: > Only anon and shmem pages in the swap cache are attempted to be > charged multiple times, from every swap pte fault or from > shmem_unuse(). No other pages require checking PageCgroupUsed(). > > Charging pages in the swap cache is also serialized by the