Re: __lock_task_sighand() and RCU

From: Matt Fleming
Date: Mon Mar 28 2011 - 11:05:09 EST


On Mon, 28 Mar 2011 15:36:02 +0200
Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> > But sighands aren't freed via
> > rcu,
>
> it is ;)
>
> > it's just a simple refcnt and kmem_cache_free()
>
> Yes, but please note that sighand_cachep was created with
> SLAB_DESTROY_BY_RCU.

D'oh. I knew it would be something obvious like that.

Thanks Oleg!

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/