Commit:     02febdf7f62f2fbfa89ca9dc5d929beea89c96b1
Parent:     9c837fb692b005203765d8a569a2fe43fdff9df1
Author:     Peter Zijlstra <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 20:01:38 2007 +0200
Committer:  Christoph Lameter <[EMAIL PROTECTED]>
CommitDate: Mon Jul 30 12:12:39 2007 -0700

    slub: add lock debugging check
    Ingo noticed that the SLUB code does include the lock debugging free
    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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mm/slub.c b/mm/slub.c
index 9b2d617..221809f 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1656,6 +1656,7 @@ static void __always_inline slab_free(struct kmem_cache 
        unsigned long 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to