Re: 2.6.26-git: NULL pointer deref in __switch_to

From: Patrick McHardy
Date: Sat Jun 14 2008 - 03:50:01 EST


Ingo Molnar wrote:
* Suresh Siddha <suresh.b.siddha@xxxxxxxxx> wrote:

Somehow (as described below?) TS_USEDFPU is set but the fpu is not allocated or freed.

Please try the appended patch.

i've queued up your fix in tip/x86/urgent. (Git access coordinates: http://people.redhat.com/mingo/tip.git/README)

i'm wondering why this problem was not hit more frequently. Does it need some special FPU use to trigger? Or does it need an exec() with the FPU stack still active? (normally the FPU stack is empty at exec() time)

I've recently started running three lguest instances on that machine,
maybe that has something to do with it.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/