lkml.org 
[lkml]   [2002]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: thread_info implementation
>>>>> On Mon, 11 Feb 2002 17:32:36 -0800 (PST), "David S. Miller" <davem@redhat.com> said:

David> From: David Mosberger <davidm@hpl.hp.com> Date: Mon, 11
David> Feb 2002 17:21:40 -0800

David> The task pointer lives in the thread pointer register
David> (r13), so it's trivial to address off of it.

DaveM> So why don't you put the, oh my gosh, "THREAD INFO POINTER"
DaveM> into the thread pointer register instead? That is what I did
DaveM> and everything transforms naturally, you will need to make
DaveM> zero modifications to assembly code besides the offset macro
DaveM> names and that you can even script :-)

Umh, perhaps because it adds one level of indirection to every access
of "current"??

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

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.125 / U:1.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site