Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14046
b: refs/heads/master
c: 50c85a1
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Nov 14, 2005
1 parent bd870c0 commit f904fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 065d41cb269e9debb18c6d5052e4de1088ae3d8f
refs/heads/master: 50c85a19e7b3928b5b5188524c44ffcbacdd4e35
6 changes: 1 addition & 5 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,11 +1205,7 @@ static void *kmem_getpages(kmem_cache_t *cachep, gfp_t flags, int nodeid)
int i;

flags |= cachep->gfpflags;
if (likely(nodeid == -1)) {
page = alloc_pages(flags, cachep->gfporder);
} else {
page = alloc_pages_node(nodeid, flags, cachep->gfporder);
}
page = alloc_pages_node(nodeid, flags, cachep->gfporder);
if (!page)
return NULL;
addr = page_address(page);
Expand Down

0 comments on commit f904fa1

Please sign in to comment.