Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22503
b: refs/heads/master
c: fdb7cc5
h: refs/heads/master
i:
  22501: 97d78a5
  22499: bc4a632
  22495: b4b9df5
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed Mar 22, 2006
1 parent d9e385d commit 25f6ce2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 9b65ef59d42a56fa1358958ede77aaa5bac385a8
refs/heads/master: fdb7cc59084ba7eef935e4e40aaaf538ee34c625
4 changes: 3 additions & 1 deletion trunk/mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ static int alloc_fresh_huge_page(void)
struct page *page;
page = alloc_pages_node(nid, GFP_HIGHUSER|__GFP_COMP|__GFP_NOWARN,
HUGETLB_PAGE_ORDER);
nid = (nid + 1) % num_online_nodes();
nid = next_node(nid, node_online_map);
if (nid == MAX_NUMNODES)
nid = first_node(node_online_map);
if (page) {
page[1].lru.next = (void *)free_huge_page; /* dtor */
spin_lock(&hugetlb_lock);
Expand Down

0 comments on commit 25f6ce2

Please sign in to comment.