Re: Userspace process crashes with PREEMPT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 31 May 2008 11:02:38 +0200 (CEST)

> - I didn't saw any crash with no preemption or voluntary preemption (run 
> it full loaded for a week, it is stable)
> - The kernel doesn't crash, just userspace processes crash.
> - Preemptible RCU has no effect on the crashes (they happen with or 
> without it)
> - The debug options in "kernel hacking" report nothing when enabled, but 
> with the options enabled, the crashes happen more often

I'm going to start looking into this now, thanks for report.

> Presumably, there is some point where preemption corrupts userspace 
> process state, do you have any idea where it could be? You can send me any 
> patches to test. Send them directly to my email, I'm not on the list.

I think the FPU state is being corrupted by the kernel.
The FPU is used heavily by memcpy and memset in userspace
and therefore FPU corruption shows up as either strange
behavior or outright crashes in userspace.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux