Re: thread_info implementation

From: David Mosberger (davidm@hpl.hp.com)
Date: Mon Feb 11 2002 - 20:21:40 EST


>>>>> On Mon, 11 Feb 2002 17:07:09 -0800 (PST), "David S. Miller" <davem@redhat.com> said:

  DaveM> I didn't have to change any of my locore code, what the heck
  DaveM> are you talking about? :-) All of the changes to _ANY_
  DaveM> assembly on sparc64 looked like this:

The task pointer lives in the thread pointer register (r13), so it's
trivial to address off of it. The stack pointer is a poor replacement
for that. The bit-masking that the x86 code is doing to get the
thread info pointer atrocious and is part of the reason task coloring
is harder to do on x86.

        --david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:45 EST