Avi Kivity
8e7cac7980
core: Fix user return notifier on fork()
...
fork() clones all thread_info flags, including
TIF_USER_RETURN_NOTIFY; if the new task is first scheduled on a cpu
which doesn't have user return notifiers set, this causes user
return notifiers to trigger without any way of clearing itself.
This is easy to trigger with a forky workload on the host in
parallel with kvm, resulting in a cpu in an endless loop on the
verge of returning to userspace.
Fix by dropping the TIF_USER_RETURN_NOTIFY immediately after fork.
Signed-off-by: Avi Kivity <avi@redhat.com >
LKML-Reference: <1259505288-16559-1-git-send-email-avi@redhat.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-11-29 22:03:04 +01:00
..
2009-09-23 15:39:36 -07:00
2009-09-26 10:50:47 -07:00
2009-09-23 07:39:38 -07:00
2009-09-23 07:39:29 -07:00
2009-09-26 10:49:42 -07:00
2009-09-23 14:36:38 -04:00
2009-09-24 07:21:05 -07:00
2009-09-24 15:13:11 -07:00
2009-09-27 11:39:25 -07:00
2009-09-23 07:39:29 -07:00
2009-09-30 16:12:20 -07:00
2009-09-26 00:10:40 +02:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:20:58 -07:00
2009-09-23 07:39:29 -07:00
2009-09-24 07:20:57 -07:00
2009-09-24 09:34:53 +09:30
2009-09-23 11:01:25 -07:00
2009-09-24 07:20:57 -07:00
2009-09-23 07:39:29 -07:00
2009-09-24 08:32:11 -07:00
2009-09-24 07:21:04 -07:00
2009-09-24 07:21:04 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:46 -07:00
2009-09-27 11:39:25 -07:00
2009-09-26 20:28:07 -07:00
2009-09-24 09:34:38 +09:30
2009-09-23 07:39:41 -07:00
2009-09-26 10:17:19 -07:00
2009-09-30 00:32:06 -04:00
2009-09-23 07:39:58 -07:00
2009-09-23 07:39:30 -07:00
2009-09-23 07:39:29 -07:00
2009-09-26 10:17:19 -07:00
2009-09-23 07:39:42 -07:00
2009-09-24 07:20:59 -07:00
2009-09-23 07:39:41 -07:00
2009-09-27 11:39:25 -07:00
2009-09-24 17:20:20 -07:00
2009-09-24 07:21:04 -07:00
2009-09-23 07:39:43 -07:00
2009-09-25 00:32:58 +09:30
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-24 15:44:05 -07:00
2009-09-26 10:17:19 -07:00
2009-09-24 07:20:58 -07:00
2009-09-24 07:53:22 -07:00
2009-09-24 07:55:29 -07:00
2009-09-24 15:38:57 -07:00
2009-09-24 07:53:22 -07:00
2009-09-23 07:39:41 -07:00
2009-09-27 11:39:25 -07:00
2009-09-24 07:20:57 -07:00
2009-09-24 07:20:59 -07:00
2009-09-24 07:53:22 -07:00
2009-09-24 07:53:22 -07:00
2009-09-24 07:21:04 -07:00
2009-09-24 07:47:35 -04:00
2009-09-30 21:46:59 +02:00
2009-09-24 07:21:01 -07:00
2009-09-24 09:34:40 +09:30
2009-09-24 07:53:22 -07:00
2009-09-23 09:21:05 -07:00
2009-09-24 07:21:04 -07:00
2009-09-24 07:20:56 -07:00
2009-09-24 09:34:41 +09:30
2009-09-24 07:21:00 -07:00
2009-09-24 07:20:57 -07:00
2009-09-27 13:35:16 -07:00
2009-09-23 07:39:48 -07:00
2009-09-23 06:46:23 -07:00
2009-09-23 06:46:39 -07:00
2009-11-29 22:03:04 +01:00
2009-09-23 18:13:10 -07:00
2009-09-24 09:57:08 -07:00
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:36 +09:30
2009-09-23 07:39:29 -07:00
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:31 +09:30
2009-09-23 03:49:27 +04:00
2009-09-24 07:21:04 -07:00