Re: Race condition between putback_lru_page and mem_cgroup_move_list

From: KOSAKI Motohiro
Date: Thu Aug 07 2008 - 08:22:36 EST


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.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/