Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283410
b: refs/heads/master
c: 73736e0
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and Pekka Enberg committed Dec 13, 2011
1 parent 87ba410 commit cc17e99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25f4379b8c79066c4be0e5995f37f5265733b801
refs/heads/master: 73736e0387ba0e6d2b703407b4d26168d31516a7
5 changes: 5 additions & 0 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2169,6 +2169,11 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node,
goto new_slab;
}

/* must check again c->freelist in case of cpu migration or IRQ */
object = c->freelist;
if (object)
goto load_freelist;

stat(s, ALLOC_SLOWPATH);

do {
Expand Down

0 comments on commit cc17e99

Please sign in to comment.