Revision 95ef1e52922cf75b1ea2eae54ef886f2cc47eecb authored by Avi Kivity on 15 November 2011, 12:59:07 UTC, committed by Avi Kivity on 20 November 2011, 08:53:48 UTC
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>
1 parent bb75c62
File | Mode | Size |
---|---|---|
fc | ||
Kbuild | -rw-r--r-- | 99 bytes |
fc_encode.h | -rw-r--r-- | 10.5 KB |
fc_frame.h | -rw-r--r-- | 6.9 KB |
iscsi_if.h | -rw-r--r-- | 13.1 KB |
iscsi_proto.h | -rw-r--r-- | 16.0 KB |
libfc.h | -rw-r--r-- | 33.4 KB |
libfcoe.h | -rw-r--r-- | 11.8 KB |
libiscsi.h | -rw-r--r-- | 12.9 KB |
libiscsi_tcp.h | -rw-r--r-- | 4.2 KB |
libsas.h | -rw-r--r-- | 17.6 KB |
libsrp.h | -rw-r--r-- | 1.5 KB |
osd_attributes.h | -rw-r--r-- | 15.0 KB |
osd_initiator.h | -rw-r--r-- | 16.2 KB |
osd_ore.h | -rw-r--r-- | 5.3 KB |
osd_protocol.h | -rw-r--r-- | 17.6 KB |
osd_sec.h | -rw-r--r-- | 1.5 KB |
osd_sense.h | -rw-r--r-- | 9.9 KB |
osd_types.h | -rw-r--r-- | 1021 bytes |
sas.h | -rw-r--r-- | 12.1 KB |
sas_ata.h | -rw-r--r-- | 2.2 KB |
scsi.h | -rw-r--r-- | 17.6 KB |
scsi_bsg_fc.h | -rw-r--r-- | 8.6 KB |
scsi_bsg_iscsi.h | -rw-r--r-- | 2.8 KB |
scsi_cmnd.h | -rw-r--r-- | 8.2 KB |
scsi_dbg.h | -rw-r--r-- | 968 bytes |
scsi_device.h | -rw-r--r-- | 17.2 KB |
scsi_devinfo.h | -rw-r--r-- | 1.9 KB |
scsi_dh.h | -rw-r--r-- | 2.6 KB |
scsi_driver.h | -rw-r--r-- | 1.0 KB |
scsi_eh.h | -rw-r--r-- | 2.7 KB |
scsi_host.h | -rw-r--r-- | 28.0 KB |
scsi_ioctl.h | -rw-r--r-- | 1.2 KB |
scsi_netlink.h | -rw-r--r-- | 4.3 KB |
scsi_netlink_fc.h | -rw-r--r-- | 1.9 KB |
scsi_scan.h | -rw-r--r-- | 256 bytes |
scsi_tcq.h | -rw-r--r-- | 4.1 KB |
scsi_tgt.h | -rw-r--r-- | 807 bytes |
scsi_tgt_if.h | -rw-r--r-- | 2.5 KB |
scsi_transport.h | -rw-r--r-- | 3.9 KB |
scsi_transport_fc.h | -rw-r--r-- | 25.2 KB |
scsi_transport_iscsi.h | -rw-r--r-- | 11.0 KB |
scsi_transport_sas.h | -rw-r--r-- | 6.3 KB |
scsi_transport_spi.h | -rw-r--r-- | 7.1 KB |
scsi_transport_srp.h | -rw-r--r-- | 902 bytes |
scsicam.h | -rw-r--r-- | 674 bytes |
sg.h | -rw-r--r-- | 14.1 KB |
srp.h | -rw-r--r-- | 6.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...