Re: [tip:locking/core] locking/rwsem: Fix lock optimistic spinning when owner is not running

From: Peter Zijlstra
Date: Tue Mar 10 2015 - 12:17:09 EST


On Tue, Mar 10, 2015 at 09:04:23AM -0700, Linus Torvalds wrote:
>
> I think we should just make 'task_struct_cachep' have SLAB_DESTROY_BY_RCU.

Yes, that'll work. Also for the other cases Oleg found previously I
think.
--
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/