Re: [off-list] a path toward killing thread_info

From: Benjamin Herrenschmidt
Date: Fri Jun 17 2016 - 19:24:17 EST


On Fri, 2016-06-17 at 16:10 -0700, H. Peter Anvin wrote:
>Â
> Yes.
>
> I did a half-finished patchset to do this once, in that I defined
> accessor functions which used container_of instead of pointers on
> architectures where this merge was enabled.

How do you get to "current" in that case ? A normal per-cpu ?

Cheers,
Ben.