diff options
| author | Clark Williams <[email protected]> | 2018-10-26 22:10:32 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-10-26 23:38:15 +0000 |
| commit | 026d1eaf5ef1a5d6258b46e4e411cd9f5ab8c41d (patch) | |
| tree | 264348a04b2cdc0c9c01453cfcc03f1ff5b1c7c8 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | mm/gup: cache dev_pagemap while pinning pages (diff) | |
| download | kernel-026d1eaf5ef1a5d6258b46e4e411cd9f5ab8c41d.tar.gz kernel-026d1eaf5ef1a5d6258b46e4e411cd9f5ab8c41d.zip | |
mm/kasan/quarantine.c: make quarantine_lock a raw_spinlock_t
The static lock quarantine_lock is used in quarantine.c to protect the
quarantine queue datastructures. It is taken inside quarantine queue
manipulation routines (quarantine_put(), quarantine_reduce() and
quarantine_remove_cache()), with IRQs disabled. This is not a problem on
a stock kernel but is problematic on an RT kernel where spin locks are
sleeping spinlocks, which can sleep and can not be acquired with disabled
interrupts.
Convert the quarantine_lock to a raw spinlock_t. The usage of
quarantine_lock is confined to quarantine.c and the work performed while
the lock is held is used for debug purpose.
[[email protected]: slightly altered the commit message]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Clark Williams <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
