[PATCH] fix/simplify mutex debugging code
Let's switch mutex_debug_check_no_locks_freed() to take (addr, len) as arguments instead, since all its callers were just calculating the 'to' address for themselves anyway... (and sometimes doing so badly). Signed-off-by:David Woodhouse <dwmw2@infradead.org> Acked-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/i386/mm/pageattr.c 1 addition, 1 deletionarch/i386/mm/pageattr.c
- include/linux/mm.h 1 addition, 1 deletioninclude/linux/mm.h
- include/linux/mutex-debug.h 1 addition, 1 deletioninclude/linux/mutex-debug.h
- include/linux/mutex.h 1 addition, 1 deletioninclude/linux/mutex.h
- kernel/mutex-debug.c 3 additions, 2 deletionskernel/mutex-debug.c
- mm/page_alloc.c 1 addition, 1 deletionmm/page_alloc.c
- mm/slab.c 1 addition, 1 deletionmm/slab.c
Loading
Please register or sign in to comment