Re: [PATCH x86/mm] x86_64 save_i387_ia32 snafu

From: Roland McGrath
Date: Fri Jan 11 2008 - 16:32:02 EST


> thanks, applied. Does this explain the crash/hang problems with 32-bit
> apps on 64-bit kernels? What was the exact failure mode?

It does. Any 32-bit process trying to run a signal handler when it had
used the FPU, would clobber "current" with FP bits. The observed failure
mode was shortly after this in the signal handler setup code, when it
crashed due to current->mm being zero (current->pid also being zero, and
the whole first 512 bytes of the task_struct being garbage).


Thanks,
Roland
--
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/