Messages in this thread | | | Date | Tue, 26 Mar 2019 14:36:04 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory |
| |
On 03/25, Christopher Lameter wrote: > > On Fri, 22 Mar 2019, Matthew Wilcox wrote: > > > Only for SLAB and SLUB. SLOB requires that you pass a pointer to the > > slab cache; it has no way to look up the slab cache from the object. > > Well then we could either fix SLOB to conform to the others or add a > kmem_cache_free_rcu() variant.
Speaking of struct sigqueue we can simply use call_rcu() but see my previous email, I am not sure this is the best option.
Oleg.
| |