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

From: H. Peter Anvin
Date: Fri Jun 17 2016 - 19:14:49 EST


On June 17, 2016 4:04:31 PM PDT, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>On Fri, Jun 17, 2016 at 03:41:49PM -0700, Andy Lutomirski wrote:
>
>> PeterZ, I'm thinking of adding task_ti_flags_ptr to directly find the
>> ti flags word given a task_struct * so the scheduler can use it.
>Does
>> that seem reasonable to you?
>
>What are you trying to do? Merge task_struct and thread_info?

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.
--
Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.