summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSeb Laveze <sebastien.laveze@nxp.com>2021-01-12 15:01:22 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-13 15:50:46 -0800
commit1f02efd1bb35bee95feed6aab46d1217f29d555b (patch)
tree8668e04d9ac8e703b183f2d70c28bb8a10742291 /tools/perf/scripts/python/stackcollapse.py
parenta95d25dd7b94a5ba18246da09b4218f132fed60e (diff)
net: stmmac: use __napi_schedule() for PREEMPT_RT
Use of __napi_schedule_irqoff() is not safe with PREEMPT_RT in which hard interrupts are not disabled while running the threaded interrupt. Using __napi_schedule() works for both PREEMPT_RT and mainline Linux, just at the cost of an additional check if interrupts are disabled for mainline (since they are already disabled). Similar to the fix done for enetc commit 215602a8d212 ("enetc: use napi_schedule to be compatible with PREEMPT_RT") Signed-off-by: Seb Laveze <sebastien.laveze@nxp.com> Link: https://lore.kernel.org/r/20210112140121.1487619-1-sebastien.laveze@oss.nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions