diff options
| author | Kees Cook <keescook@chromium.org> | 2020-05-04 19:31:36 -0700 |
|---|---|---|
| committer | Kees Cook <keescook@chromium.org> | 2020-05-12 09:13:47 -0700 |
| commit | cab12fd049380b1d0c3ac9f534407a8cc0ac4bba (patch) | |
| tree | fbeece16030bf753ffc420a5e496ca0ce0ea2c6a /tools/perf/scripts/python/stackcollapse.py | |
| parent | pstore: Rename "pstore_lock" to "psinfo_lock" (diff) | |
| download | linux-cab12fd049380b1d0c3ac9f534407a8cc0ac4bba.tar.gz linux-cab12fd049380b1d0c3ac9f534407a8cc0ac4bba.zip | |
pstore: Convert "psinfo" locking to mutex
Currently pstore can only have a single backend attached at a time, and it
tracks the active backend via "psinfo", under a lock. The locking for this
does not need to be a spinlock, and in order to avoid may_sleep() issues
during future changes to pstore_unregister(), switch to a mutex instead.
Link: https://lore.kernel.org/lkml/20200506152114.50375-4-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
