Re: [PATCH 0/6] mm: Remote LRU per-cpu pagevec cache/per-cpu page list drain support
From: Peter Zijlstra
Date: Wed Sep 22 2021 - 07:28:33 EST
On Tue, Sep 21, 2021 at 07:59:51PM +0200, Vlastimil Babka wrote:
> These days the pcplist protection is done by local_lock, which solved
> the RT concerns. Probably a stupid/infeasible idea, but maybe what you
> want to achieve could be more generally solved at the local_lock level?
> That on NOHZ_FULL CPUs, local_locks could have this mode where they
> could synchronize with remote cpus?
local_lock and spinlock have different rules, local_lock for example can
never cause an irq inversion, unlike a spinlock.