summaryrefslogtreecommitdiff
path: root/kernel/locking/qspinlock.c
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2023-03-12 22:04:48 +0300
committerBoqun Feng <boqun.feng@gmail.com>2023-03-27 21:16:01 +0300
commit60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37 (patch)
tree476f2c0b2a54ca7b9dad3a6a4d3e4542240618f5 /kernel/locking/qspinlock.c
parentf0f44752f5f61ee4e3bd88ae033fdb888320aafe (diff)
downloadlinux-60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37.tar.xz
locking: Reduce the number of locks in ww_mutex stress tests
The stress test in test_ww_mutex_init() uses 4095 locks since lockdep::reference has 12 bits, and since we are going to reduce it to 11 bits to support lock_sync(), and 2047 is still a reasonable number of the max nesting level for locks, so adjust the test. Reported-by: kernel test robot <oliver.sang@intel.com> Link: https://lore.kernel.org/oe-lkp/202302011445.9d99dae2-oliver.sang@intel.com Tested-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'kernel/locking/qspinlock.c')
0 files changed, 0 insertions, 0 deletions