summaryrefslogtreecommitdiffstats
path: root/kernel/sched/stats.c
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2020-11-02 06:37:42 +0100
committerPeter Zijlstra <peterz@infradead.org>2020-12-03 11:20:50 +0100
commite04ce676e7aa490dcf5df880592e3db5e842a9bc (patch)
treeff5ed969437455675e570795708e4e0357eab7c2 /kernel/sched/stats.c
parentlockdep/selftests: Fix PROVE_RAW_LOCK_NESTING (diff)
downloadlinux-e04ce676e7aa490dcf5df880592e3db5e842a9bc.tar.xz
linux-e04ce676e7aa490dcf5df880592e3db5e842a9bc.zip
lockdep/selftest: Add spin_nest_lock test
Add a self test case to test the behavior for the following case: lock(A); lock_nest_lock(C1, A); lock(B); lock_nest_lock(C2, A); This is a reproducer for a problem[1] reported by Chris Wilson, and is helpful to prevent this. [1]: https://lore.kernel.org/lkml/160390684819.31966.12048967113267928793@build.alporthouse.com/ Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201102053743.450459-2-boqun.feng@gmail.com
Diffstat (limited to 'kernel/sched/stats.c')
0 files changed, 0 insertions, 0 deletions