summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-10-07 09:10:48 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-10-03 00:05:13 -0700
commit3bc5ee6fd769ff1e6a49e2f7e1fde4680e9a7ce7 (patch)
tree048a0dfdbe099b7f2828d1e36492393f5197e8d6 /tools/perf/scripts/python
parentb8bddf51cfee2d3e6901f7c5646ad4e3ef1c5c80 (diff)
rcu: Stop disabling interrupts in scheduler fastpaths
We need the scheduler's fastpaths to be, well, fast, and unnecessarily disabling and re-enabling interrupts is not necessarily consistent with this goal. Especially given that there are regions of the scheduler that already have interrupts disabled. This commit therefore moves the call to rcu_note_context_switch() to one of the interrupts-disabled regions of the scheduler, and removes the now-redundant disabling and re-enabling of interrupts from rcu_note_context_switch() and the functions it calls. Reported-by: Peter Zijlstra <peterz@infradead.org> Change-Id: I8de5c9890b1db126b06d4d8fed717b3c8bfcf866 Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Shift rcu_note_context_switch() to avoid deadlock, as suggested by Peter Zijlstra. ] Git-commit: 46a5d164db53ba6066b11889abb7fa6bddbe5cf7 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [prsood@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions