lkml.org 
[lkml]   [2001]   [Nov]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 10 Nov 2001 19:39:36 -0500
FromBenjamin LaHaise <>
SubjectRe: [RFT] final cur of tr based current for -ac8
On Sun, Nov 11, 2001 at 09:54:48AM +1100, Keith Owens wrote:
> I am still unhappy with that NMI code.  The NMI handler can use generic
> code including printk, the generic code will use the standard
> get_current.  Why does nmi.c not do set_current(hard_get_current());

It can in the current version, but that's generally wrong.  The current 
dependancy is that hard_get_current() only really needs to be used during 
early boot before the TR register is set.  Once that's done, the code can 
use smp_processor_id() anywhere.

		-ben
-- 
Fish.
-
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 12:13    [from the cache]
©2003-2008