Re: [RFT] final cur of tr based current for -ac8

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Sat Nov 10 2001 - 19:39:36 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:25 EST