mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
slub: use lockdep_assert_held
Instead of using comments in an attempt at getting the locking right, use proper assertions that actively warn you if you got it wrong. Also add extra braces in a few sites to comply with coding-style. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
parent
8afb1474db
commit
c65c1877bd
1 changed files with 20 additions and 20 deletions
40
mm/slub.c
40
mm/slub.c
Loading…
Add table
Add a link
Reference in a new issue