On 7/27/21 6:09 AM, Mike Galbraith wrote: > On Mon, 2021-07-26 at 23:26 +0200, Vlastimil Babka wrote: >> On 7/26/21 7:00 PM, Mike Galbraith wrote: >>> >>> Why not do something like the below?... >> >> Yep, sounds like a good approach, thanks. Percpu partial is not *the* >> SLUB fast path, so it should be sufficient without the lockless cmpxchg >> tricks. Will incorporate in updated series. The updated series incorporating hopefully all fixes from Mike and bigeasy, and rebased to 5.14-rc3 (Thomas told me RT is moving to it), is here: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slub-local-lock-v3r0 I'll post it to linux-mm tomorrow.