Skip to contentSkip to conversation

CONFIG_PREEMPT causes corruption of application's FPU stack

DISCUSSION [email protected] 1 participant 1 message May 24, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · you
Quoted 5 lines · J?rgen Mell
Quoted 4 lines

I tracked this down to a single kernel configuration option. If CONFIG_PREEMPT is set to 'y' the application will start crashing. If CONFIG_PREEMPT is replaced by CONFIG_PREEMPT_VOLUNTARY, the application will run without errors.

Quoted 7 lines
Quoted 2 lines

If you see it in the kernel.org kernel, can you please do a git-bisect to see which commit caused the problem?

This is a bit of a problem. I do not know whether there was *ever* a kernel version with CONFIG_PREEMPT and without this problem as I have not tried any older kernel version yet. I will go back to SUSE 10.2 and try the 2.6.18 kernel that comes with it.

I found now that the problem was introduced somewhere between the kernel.org kernels 2.6.19.7 and 2.6.20. I will start bisecting now.

Bye,

Jürgen