[off-list] a path toward killing thread_info

From: Andy Lutomirski
Date: Fri Jun 17 2016 - 18:42:14 EST


It's fairly straightforward, it's arguably a cleanup, and, with it
applied, there are very few references to 'thread_info' left in the
core kernel at all.

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?

Ingo, lockdep tracks mutex owners by thread_info *. Is there any good
reason for this? Can I just use task_struct *? If we do that, I
think thread_info will be *gone* from the core.


Andy Lutomirski
AMA Capital Management, LLC