Re: [RFC 1/5] memcg: synchronize per-zone iterator access by a spinlock

2012-11-13 Thread Kamezawa Hiroyuki
(2012/11/14 0:30), Michal Hocko wrote: > per-zone per-priority iterator is aimed at coordinating concurrent > reclaimers on the same hierarchy (or the global reclaim when all > groups are reclaimed) so that all groups get reclaimed evenly as > much as possible. iter->position holds the last css->id

[RFC 1/5] memcg: synchronize per-zone iterator access by a spinlock

2012-11-13 Thread Michal Hocko
per-zone per-priority iterator is aimed at coordinating concurrent reclaimers on the same hierarchy (or the global reclaim when all groups are reclaimed) so that all groups get reclaimed evenly as much as possible. iter->position holds the last css->id visited and iter->generation signals the compl