All of lore.kernel.org
 help / color / mirror / Atom feed
* [off-list] a path toward killing thread_info
@ 2016-06-17 22:41 Andy Lutomirski
  2016-06-17 23:04 ` Al Viro
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Lutomirski @ 2016-06-17 22:41 UTC (permalink / raw)
  To: Kees Cook, H. Peter Anvin, Peter Zijlstra,
	linux-kernel@vger.kernel.org, Ingo Molnar

https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/commit/?h=x86/vmap_stack&id=50d6cef284e80678c2065813b54bf525d1202d0f

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

-- 
Andy Lutomirski
AMA Capital Management, LLC

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-18  0:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17 22:41 [off-list] a path toward killing thread_info Andy Lutomirski
2016-06-17 23:04 ` Al Viro
2016-06-17 23:10   ` H. Peter Anvin
2016-06-17 23:23     ` Benjamin Herrenschmidt
2016-06-18  0:02       ` H. Peter Anvin
2016-06-17 23:24   ` Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.