projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c837fb
)
slub: add lock debugging check
author
Peter Zijlstra
<
[email protected]
>
Thu, 26 Jul 2007 18:01:38 +0000
(20:01 +0200)
committer
Christoph Lameter
<
[email protected]
>
Mon, 30 Jul 2007 19:12:39 +0000
(12:12 -0700)
Ingo noticed that the SLUB code does include the lock debugging free
check.
Signed-off-by: Peter Zijlstra <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Acked-by: Pekka Enberg <
[email protected]
>
Signed-off-by: Christoph Lameter <
[email protected]
>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 9b2d6178d06ce7259941c6aafa7b20cf81228e40..221809f1c1350b48fea34b00c17d6a9400e778b3 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-1656,6
+1656,7
@@
static void __always_inline slab_free(struct kmem_cache *s,
unsigned long flags;
local_irq_save(flags);
+ debug_check_no_locks_freed(object, s->objsize);
if (likely(page == s->cpu_slab[smp_processor_id()] &&
!SlabDebug(page))) {
object[page->offset] = page->lockless_freelist;