Jan Lübbe
a64314e62d
fix console change race exposed by CFS
...
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 >
2007-09-29 10:00:15 -07:00
..
2007-07-31 15:39:39 -07:00
2007-09-25 17:58:52 -04:00
2007-04-27 10:57:29 -07:00
2007-09-25 21:30:56 -04:00
2007-08-18 09:52:50 -07:00
2007-08-22 19:52:46 -07:00
2007-09-26 09:16:21 -07:00
2007-09-19 11:24:16 -07:00
2007-09-09 08:39:27 +02:00
2007-09-26 08:20:44 +02:00
2007-09-29 10:00:15 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:40 -07:00
2007-07-13 01:29:51 -04:00
2007-08-18 09:52:50 -07:00
2007-08-26 18:35:40 -07:00
2007-09-11 17:21:19 -07:00
2007-05-08 11:15:02 -07:00
2007-02-14 08:09:54 -08:00
2007-09-07 18:44:35 +02:00
2007-07-16 09:05:42 -07:00
2007-08-18 09:52:50 -07:00
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
2007-09-17 12:35:30 +02:00
2007-09-20 21:19:45 +02:00
2007-09-23 13:03:22 -07:00
2007-09-28 15:38:12 -07:00
2007-08-26 18:35:46 -07:00
2007-09-22 12:55:18 -07:00
2007-07-16 01:15:51 +01:00
2007-09-25 08:51:04 -07:00
2007-08-25 16:58:27 +10:00
2007-05-09 12:30:49 -07:00
2007-09-24 13:23:35 -07:00
2007-09-26 09:22:04 -07:00
2007-08-06 17:48:34 -07:00
2007-07-19 10:04:50 -07:00
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-09-19 11:24:17 -07:00
2007-09-29 00:46:30 -04:00
2007-07-19 10:04:50 -07:00
2007-07-20 14:25:51 +10:00
2007-07-20 21:42:24 +02:00
2007-07-18 08:38:22 -07:00
2007-07-31 15:39:37 -07:00
2007-09-28 16:21:10 -07:00
2007-07-31 15:39:38 -07:00
2007-09-11 17:21:19 -07:00
2007-09-21 01:22:23 +04:00
2007-06-28 19:19:20 +10:00
2007-07-19 10:04:50 -07:00
2007-09-19 11:24:17 -07:00
2007-09-11 07:46:09 -07:00
2007-07-31 15:39:43 -07:00
2007-09-25 20:55:02 -05:00
2007-09-28 10:26:30 -05:00
2007-07-19 10:04:50 -07:00
2007-07-19 10:04:50 -07:00
2007-09-11 17:21:19 -07:00
2007-07-18 08:38:22 -07:00
2007-07-19 10:04:50 -07:00
2007-07-18 15:57:16 -07:00
2007-09-13 06:01:24 -07:00
2007-09-19 11:24:18 -07:00
2007-09-25 08:51:04 -07:00
2007-07-26 11:35:17 -07:00
2007-08-22 19:52:45 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00