On Sun, May 05, 2013 at 11:18:44AM +0200, Ingo Molnar wrote: > That's the old 32-bit x86 trick to compute 'current' from the kernel stack > pointer. > > It can be done better - for example on platforms with optimized percpu > variables (x86-64) it looks like this: Doesn't i386 have all the funny per-cpu stuff too? So the only reason it still does the fugly stack based thing is because nobody could be arsed to do the work of converting it. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html