summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2016-03-05 19:50:49 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-17 22:55:18 +0300
commit831464ce4b74eaec723bad51ea48fe3879732f66 (patch)
tree4be222146bfeee71a651665fe0c2e82b8367f9ac /tools/perf/scripts/python/syscall-counts.py
parent528ee9fbf0244406a76cb5e37406eef303b09a46 (diff)
downloadlinux-831464ce4b74eaec723bad51ea48fe3879732f66.tar.xz
IB/hfi1: Don't call cond_resched in atomic mode when sending packets
This patch fixed the problem where the driver might reschedule in atomic mode when sending packets. This is due to the fact that the call to cond_resched() in hfi1_do_send() might occur in atomic mode and a check is required to avoid the warning message: "kernel: BUG: scheduling while atomic: swapper/2/0/0x10000100." Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions