Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32531
b: refs/heads/master
c: fc81830
h: refs/heads/master
i:
  32529: 2927f5c
  32527: bbcc438
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jul 13, 2006
1 parent b6f1b72 commit 8d9cdd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 3e705f279a942471b258b1c7a9e54aa8ff36b89f
refs/heads/master: fc818301a8a39fedd7f0a71f878f29130c72193d
9 changes: 0 additions & 9 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,16 +3119,7 @@ static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects,
if (slabp->inuse == 0) {
if (l3->free_objects > l3->free_limit) {
l3->free_objects -= cachep->num;
/*
* It is safe to drop the lock. The slab is
* no longer linked to the cache. cachep
* cannot disappear - we are using it and
* all destruction of caches must be
* serialized properly by the user.
*/
spin_unlock(&l3->list_lock);
slab_destroy(cachep, slabp);
spin_lock(&l3->list_lock);
} else {
list_add(&slabp->list, &l3->slabs_free);
}
Expand Down

0 comments on commit 8d9cdd0

Please sign in to comment.