Revision a64314e62d89562b6fc77593648bec3acc35bf61 authored by Jan Lübbe on 29 September 2007, 16:47:51 UTC, committed by Linus Torvalds on 29 September 2007, 17:00:15 UTC
The new behaviour of CFS exposes a race which occurs if a switch is requested when vt_mode.mode is VT_PROCESS. The process with vc->vt_pid is signaled before vc->vt_newvt is set. This causes the switch to fail when triggered by the monitoing process because the target is still -1. [ If the signal sending fails, the subsequent "reset_vc(vc)" will then reset vt_newvt to -1, so this works for that case too. - Linus ] Signed-off-by: Jan Lübbe <jluebbe@lasnet.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ed7fdff
File | Mode | Size |
---|---|---|
aoa | ||
arm | ||
core | ||
drivers | ||
i2c | ||
isa | ||
mips | ||
oss | ||
parisc | ||
pci | ||
pcmcia | ||
ppc | ||
sh | ||
soc | ||
sparc | ||
synth | ||
usb | ||
Kconfig | -rw-r--r-- | 2.9 KB |
Makefile | -rw-r--r-- | 514 bytes |
ac97_bus.c | -rw-r--r-- | 1.6 KB |
last.c | -rw-r--r-- | 1.3 KB |
sound_core.c | -rw-r--r-- | 12.6 KB |
sound_firmware.c | -rw-r--r-- | 1.7 KB |
Computing file changes ...