Messages in this thread | | | Date | Mon, 6 May 2013 10:55:47 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 2/2] lockdep: check that no locks held at freeze time |
| |
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.
| |