Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248621
b: refs/heads/master
c: 8dc16c6
h: refs/heads/master
i:
  248619: 9844997
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Apr 17, 2011
1 parent bb525e0 commit 2b3b75c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc1fb7f43636754a4d06f7bdb8ea3269a7d71d6d
refs/heads/master: 8dc16c6c04b1a82d00a8464ccc08e1fe17d0ff82
11 changes: 2 additions & 9 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2057,10 +2057,9 @@ static void __slab_free(struct kmem_cache *s, struct page *page,
slab_lock(page);
stat(s, FREE_SLOWPATH);

if (kmem_cache_debug(s))
goto debug;
if (kmem_cache_debug(s) && !free_debug_processing(s, page, x, addr))
goto out_unlock;

checks_ok:
prior = page->freelist;
set_freepointer(s, object, prior);
page->freelist = object;
Expand Down Expand Up @@ -2104,12 +2103,6 @@ static void __slab_free(struct kmem_cache *s, struct page *page,
#endif
stat(s, FREE_SLAB);
discard_slab(s, page);
return;

debug:
if (!free_debug_processing(s, page, x, addr))
goto out_unlock;
goto checks_ok;
}

/*
Expand Down

0 comments on commit 2b3b75c

Please sign in to comment.