Re: [PATCH 2/2] rename thread_info to stack

From: Roman Zippel
Date: Thu May 03 2007 - 06:52:49 EST


Hi,

On Wed, 2 May 2007, Andrew Morton wrote:

> On Tue, 1 May 2007 02:10:34 +0200 (CEST) Roman Zippel <zippel@xxxxxxxxxxxxxx> wrote:
>
> > This finally renames the thread_info field in task structure to stack,
> > so that the assumptions about this field are gone and archs have more
> > freedom about placing the thread_info structure.
>
> It's been a year or so and I've forgotten what the actual point to these
> changes is. Can we be reminded please?

Nonbroken archs which have a proper thread pointer can do the access to
both current thread and task structure via a single pointer.
It'll allow for a few more cleanups of the fork code, from which e.g. ia64
could benefit.

bye, Roman
-
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/