Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215956
b: refs/heads/master
c: 15b7c51
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg committed Oct 6, 2010
1 parent b4392e1 commit f8fa96a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5d1f57e4d3d547b113ebd62f569be13bf485e53b
refs/heads/master: 15b7c5142049e7efc3071280e1370dc3b8add6f5
4 changes: 2 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node,

c->page->inuse++;
c->page->freelist = get_freepointer(s, object);
c->node = -1;
c->node = NUMA_NO_NODE;
goto unlock_out;
}

Expand Down Expand Up @@ -1895,7 +1895,7 @@ static __always_inline void slab_free(struct kmem_cache *s,

slab_free_hook_irq(s, x);

if (likely(page == c->page && c->node >= 0)) {
if (likely(page == c->page && c->node != NUMA_NO_NODE)) {
set_freepointer(s, object, c->freelist);
c->freelist = object;
stat(s, FREE_FASTPATH);
Expand Down

0 comments on commit f8fa96a

Please sign in to comment.