Re: Race condition between putback_lru_page and mem_cgroup_move_list

KOSAKI Motohiro
2008-08-07T11:00:37Z

Hi

> If you mean the "active/inactive list transition" in
> shrink_[in]active_list(), these are already batched under zone lru_lock
> with batch size determined by the 'release pages' pvec. So, I think
> we're OK here.

No.

AFAIK shrink_inactive_list batched zone->lru_lock,
but it doesn't batched mz->lru_lock.

then, spin_lock_irqsave is freqently called.