Avi Kivity
95ef1e5292
KVM guest: prevent tracing recursion with kvmclock
...
Prevent tracing of preempt_disable() in get_cpu_var() in
kvm_clock_read(). When CONFIG_DEBUG_PREEMPT is enabled,
preempt_disable/enable() are traced and this causes the function_graph
tracer to go into an infinite recursion. By open coding the
preempt_disable() around the get_cpu_var(), we can use the notrace
version which prevents preempt_disable/enable() from being traced and
prevents the recursion.
Based on a similar patch for Xen from Jeremy Fitzhardinge.
Tested-by: Gleb Natapov <gleb@redhat.com >
Acked-by: Steven Rostedt <rostedt@goodmis.org >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-11-20 10:53:48 +02:00
..
2011-08-03 19:06:36 -04:00
2011-10-28 05:43:56 -07:00
2011-11-06 19:44:47 -08:00
2011-07-14 17:57:05 -07:00
2011-09-27 18:08:04 +02:00
2011-03-31 08:51:38 +02:00
2011-07-23 10:34:47 -07:00
2011-04-18 10:31:38 -07:00
2011-09-27 18:08:04 +02:00
2011-07-22 14:39:48 +09:30
2011-02-10 13:31:37 +01:00
2011-02-25 16:37:32 -08:00
2011-03-09 16:36:41 +01:00
2011-03-23 19:47:19 -07:00
2011-03-23 19:47:19 -07:00
2011-10-10 06:56:57 +02:00
2011-10-31 19:30:35 -04:00
2011-03-18 10:51:42 +01:00
2011-07-02 18:06:36 +02:00
2011-05-19 18:24:11 -07:00
2011-10-31 19:30:35 -04:00
2011-03-16 14:03:32 +01:00
2011-08-25 13:27:14 -07:00
2011-09-28 19:04:52 +02:00
2011-05-25 19:56:26 -04:00
2011-05-19 18:08:06 -07:00
2011-03-19 11:58:19 -07:00
2011-03-15 20:01:36 -07:00
2011-02-17 21:02:43 -08:00
2011-10-31 19:30:35 -04:00
2010-12-30 12:20:28 +01:00
2011-07-21 14:10:00 +02:00
2011-03-23 22:15:54 +01:00
2011-07-01 10:37:14 +02:00
2011-07-26 16:49:47 -07:00
2011-02-17 14:59:22 +01:00
2011-03-18 10:39:30 +01:00
2011-10-31 19:30:35 -04:00
2011-07-26 16:49:47 -07:00
2011-10-25 11:54:42 -07:00
2011-10-10 06:56:57 +02:00
2011-10-26 17:03:38 +02:00
2011-07-24 11:49:36 +03:00
2011-11-20 10:53:48 +02:00
2011-10-10 06:56:47 +02:00
2011-03-18 10:39:30 +01:00
2011-10-19 16:07:30 +02:00
2011-10-13 16:20:35 +02:00
2011-10-14 13:16:35 +02:00
2011-07-24 22:06:04 +09:30
2011-05-20 13:40:59 +02:00
2011-10-31 19:30:35 -04:00
2011-08-12 20:46:24 -07:00
2011-06-10 14:55:36 +02:00
2011-10-31 19:30:35 -04:00
2011-05-10 10:21:35 +02:00
2011-10-31 19:30:35 -04:00
2011-10-26 17:03:38 +02:00
2011-10-10 06:57:01 +02:00
2011-08-23 21:49:35 +02:00
2011-07-01 11:06:38 +02:00
2011-07-21 10:26:00 +02:00
2011-05-02 14:44:46 -07:00
2011-10-10 06:56:57 +02:00
2011-07-21 11:19:28 +02:00
2011-07-21 11:19:28 +02:00
2010-12-17 10:01:30 -08:00
2011-10-31 19:30:35 -04:00
2011-01-28 14:54:09 +01:00
2011-05-26 13:51:35 +02:00
2011-07-14 21:46:20 -07:00
2011-10-31 19:30:35 -04:00
2011-07-22 17:02:38 -07:00
2011-06-14 22:48:51 -04:00
2011-08-04 16:13:49 -07:00
2011-09-28 10:34:31 +02:00
2011-10-31 17:30:44 -07:00
2011-10-31 19:30:35 -04:00
2011-05-21 19:10:33 +02:00
2011-10-31 19:30:35 -04:00
2011-10-31 19:30:35 -04:00
2011-02-17 21:02:43 -08:00
2011-02-18 15:50:36 -08:00
2011-02-17 21:02:43 -08:00
2011-10-10 06:56:47 +02:00
2011-07-23 10:38:21 -07:00
2011-03-18 10:39:30 +01:00
2011-01-13 17:32:41 -08:00
2011-08-10 19:26:46 -05:00
2011-10-31 19:30:34 -04:00
2011-08-10 19:26:46 -05:00
2011-08-04 16:13:53 -07:00
2011-05-19 18:08:06 -07:00
2011-01-25 16:58:39 -08:00
2011-03-18 10:39:30 +01:00