Re: [12/12] fix thread_info.h ignoring __HAVE_THREAD_FUNCTIONS

From: Christoph Hellwig
Date: Mon Jun 14 2004 - 05:24:58 EST


On Mon, Jun 14, 2004 at 12:19:12PM +0200, Roman Zippel wrote:
> There is another pending change in this department: current_thread_info().
> For all nonbroken archs which have proper thread register it would
> actually be beneficial, to keep the task structure and thread info
> together and access them via the thread register, but a certain arch
> and include dependencies forces everyone to derive the thread info pointer
> from the stack pointer.

ia64 actually has thread_info and task_info in a single allocation and
uses a thread register to find that one.

-
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/