On Tuesday 06 September 2005 18:21, Andi Kleen wrote: > On Wednesday 07 September 2005 00:19, Daniel Phillips wrote: > > Andi, their stack will have to have a valid thread_info->task because > > interrupts will use it. Out of interest, could you please explain what > > for? > > No, with 4k interrupts run on their own stack with their own thread_info > Or rather they mostly do. Currently do_IRQ does irq_enter which refers > thread_info before switching to the interrupt stack, that order would > likely need to be exchanged.
But then how would thread_info->task on the irq stack ever get initialized? My "what for" question was re why interrupt routines even need a valid current. I see one answer out there on the web: statistical profiling. Is that it? Regards, Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/