Re: [PATCH RFC 0/6] mm, slub: handle pending kfree_rcu() in kmem_cache_destroy()

From: Vlastimil Babka
Date: Mon Jul 22 2024 - 02:49:32 EST


On 7/21/24 4:39 AM, David Rientjes wrote:
> On Mon, 15 Jul 2024, Vlastimil Babka wrote:
>
>> First RFC, feel free to ignore for now if too busy with merge window.
>> Also in git:
>> https://git.kernel.org/vbabka/l/slab-kfree_rcu-destroy-v1r0
>>
>> Based on slab/for-next:
>> https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git/log/?h=slab/for-next
>>
>
> Thanks Vlastimil, do you see value in testing of this series right now or
> should we wait for another series to be posted?
>
> I'm happy to run this through testing on a few different architectures,
> but not sure if you have an update baking in the oven that would supersede
> it.

Thanks, but such testing would quickly fail until the following is resolved
in patch 5/6 with the help of RCU experts :)

+ // XXX use the real kmem_cache_free_barrier() or similar thing here
+ rcu_barrier();