| ★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0235.html | Nouvelle recherche | Portail wanayoo |
|
Hans Lermen (lermen@elserv.ffm.fgan.de) Mon Feb 10 20:35:00 1997 |
[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links] |
|
The below two patches fix a problem in ldt.c, that was reported by Ion Badulescu <ionut@moisil.wal.rhno.columbia.edu> and was traced down by Ramon <ramon@atlante.ieeesb.etsit.upm.es>:Ramonwrote: > > Wine tells the operating system to free a selector that is being used > in the %fs register. The kernel does it, but when trying to restore > the registers to return from the system call, the processor generates > a expection since it does not like place an unused selector in the > %fs register. > Well, of course Wine could fix the problem, but the kernel shouldn't oops anyway. The below patches were tested by Ion Badulescu and Wine seems happy with the -EBUSY.
The 2.1.x patch also is needed, because (though the kernel doesn't use %fs/%gs) the oops may happen on schedule.