Files
linux/arch/x86/kernel
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-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02: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-07-26 16:49:47 -07:00
2011-07-24 11:49:36 +03:00
…
2011-10-10 06:56:47 +02:00
2011-03-18 10:39:30 +01:00
…
2011-07-01 11:06:38 +02:00
…
2011-07-21 10:26:00 +02:00
2011-05-26 13:51:35 +02:00
2011-07-14 21:46:20 -07:00
2011-08-04 16:13:49 -07:00
2011-10-31 17:30:44 -07:00
…
…
…
2011-10-10 06:56:47 +02:00
2011-03-18 10:39:30 +01:00
2011-01-13 17:32:41 -08:00
…
2011-03-18 10:39:30 +01:00