Revision 71e7bc2bab77e64882c031c2af943c3256c1adb0 authored by David Carrillo-Cisneros on 17 August 2016, 20:55:04 UTC, committed by Ingo Molnar on 18 August 2016, 08:35:52 UTC
The call to smp_call_function_single in perf_event_read() may fail if
an invalid or not online CPU index is passed. Warn user if such bug is
present and return error.

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1471467307-61171-2-git-send-email-davidcc@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 99f5bc9
History
File Mode Size
fc
fc_encode.h -rw-r--r-- 21.6 KB
fc_frame.h -rw-r--r-- 6.9 KB
fcoe_sysfs.h -rw-r--r-- 3.8 KB
iscsi_if.h -rw-r--r-- 26.1 KB
iscsi_proto.h -rw-r--r-- 16.1 KB
iser.h -rw-r--r-- 2.3 KB
libfc.h -rw-r--r-- 34.4 KB
libfcoe.h -rw-r--r-- 14.0 KB
libiscsi.h -rw-r--r-- 14.1 KB
libiscsi_tcp.h -rw-r--r-- 4.3 KB
libsas.h -rw-r--r-- 19.0 KB
osd_attributes.h -rw-r--r-- 15.0 KB
osd_initiator.h -rw-r--r-- 16.3 KB
osd_ore.h -rw-r--r-- 5.4 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-- 1020 bytes
sas.h -rw-r--r-- 13.2 KB
sas_ata.h -rw-r--r-- 2.7 KB
scsi.h -rw-r--r-- 8.8 KB
scsi_bsg_iscsi.h -rw-r--r-- 2.8 KB
scsi_cmnd.h -rw-r--r-- 9.3 KB
scsi_common.h -rw-r--r-- 2.1 KB
scsi_dbg.h -rw-r--r-- 2.2 KB
scsi_device.h -rw-r--r-- 19.9 KB
scsi_devinfo.h -rw-r--r-- 2.3 KB
scsi_dh.h -rw-r--r-- 3.2 KB
scsi_driver.h -rw-r--r-- 781 bytes
scsi_eh.h -rw-r--r-- 1.6 KB
scsi_host.h -rw-r--r-- 27.8 KB
scsi_ioctl.h -rw-r--r-- 1.2 KB
scsi_proto.h -rw-r--r-- 9.5 KB
scsi_tcq.h -rw-r--r-- 1005 bytes
scsi_transport.h -rw-r--r-- 3.9 KB
scsi_transport_fc.h -rw-r--r-- 27.0 KB
scsi_transport_iscsi.h -rw-r--r-- 17.2 KB
scsi_transport_sas.h -rw-r--r-- 6.7 KB
scsi_transport_spi.h -rw-r--r-- 7.2 KB
scsi_transport_srp.h -rw-r--r-- 5.0 KB
scsicam.h -rw-r--r-- 674 bytes
sg.h -rw-r--r-- 12.2 KB
srp.h -rw-r--r-- 6.1 KB
viosrp.h -rw-r--r-- 6.1 KB

back to top