diff options
author | Joel Fernandes (Google) <[email protected]> | 2020-05-25 23:47:45 +0200 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2020-06-29 11:59:25 -0700 |
commit | 8ac88f7177c75bf9b7b8c29a8054115e1c712baf (patch) | |
tree | 49803fba70f7e84937ea981982f899b4a3d17e1b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8e11690d2f5a9823d66f68918c3986b4e9e160ab (diff) |
rcu/tree: Keep kfree_rcu() awake during lock contention
On PREEMPT_RT kernels, the krcp spinlock gets converted to an rt-mutex
and causes kfree_rcu() callers to sleep. This makes it unusable for
callers in purely atomic sections such as non-threaded IRQ handlers and
raw spinlock sections. Fix it by converting the spinlock to a raw
spinlock.
Vetting all code paths, there is no reason to believe that the raw
spinlock will hurt RT latencies as it is not held for a long time.
Cc: [email protected]
Cc: Uladzislau Rezki <[email protected]>
Reviewed-by: Uladzislau Rezki <[email protected]>
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions