Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269302
b: refs/heads/master
c: 7db0d70
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Aug 19, 2011
1 parent 1a2a747 commit 2ac7dfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 69cb8e6b7c2982e015d2b35a34ac2674c79e801c
refs/heads/master: 7db0d7054048da140798d8bfdd7fff5f74f85abf
4 changes: 0 additions & 4 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2064,9 +2064,6 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node,
c = this_cpu_ptr(s->cpu_slab);
#endif

/* We handle __GFP_ZERO in the caller */
gfpflags &= ~__GFP_ZERO;

page = c->page;
if (!page)
goto new_slab;
Expand Down Expand Up @@ -2163,7 +2160,6 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node,

c->freelist = get_freepointer(s, object);
deactivate_slab(s, c);
c->page = NULL;
c->node = NUMA_NO_NODE;
local_irq_restore(flags);
return object;
Expand Down

0 comments on commit 2ac7dfb

Please sign in to comment.