Re: [RFC 0/3] mm, slab, slub: remove cpu and memory hotplug locks

From: Christoph Lameter
Date: Wed Jan 06 2021 - 14:19:21 EST


On Wed, 6 Jan 2021, Vlastimil Babka wrote:

> rather accept some wasted memory in scenarios that should be rare anyway (full
> memory hot remove), as we do the same in other contexts already. It's all RFC
> for now, as I might have missed some reason why it's not safe.

Looks good to me. My only concern is the kernel that has hotplug disabled.
Current code allows the online/offline checks to be optimized away.

Can this patch be enhanced to do the same?