Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4158
b: refs/heads/master
c: 83b78bd
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Jul 6, 2005
1 parent ad4f3df commit bfb4142
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b4634484815e1879512a23e4f59eef648135c30a
refs/heads/master: 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2
3 changes: 3 additions & 0 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,9 @@ void *kmem_cache_alloc_node(kmem_cache_t *cachep, int flags, int nodeid)
struct slab *slabp;
kmem_bufctl_t next;

if (nodeid == -1)
return kmem_cache_alloc(cachep, flags);

for (loop = 0;;loop++) {
struct list_head *q;

Expand Down

0 comments on commit bfb4142

Please sign in to comment.