Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343347
b: refs/heads/master
c: 56f2fb1
h: refs/heads/master
i:
  343345: 57ec9d1
  343343: db5d6af
v: v3
  • Loading branch information
Naoya Horiguchi authored and Linus Torvalds committed Dec 13, 2012
1 parent 38741dd commit 03cc566
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 5f24ae585be985691c017b7ab90b3669dca32d6d
refs/heads/master: 56f2fb147659e05b1e87b99791bf44b988d38545
8 changes: 7 additions & 1 deletion trunk/mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3172,7 +3172,13 @@ int dequeue_hwpoisoned_huge_page(struct page *hpage)

spin_lock(&hugetlb_lock);
if (is_hugepage_on_freelist(hpage)) {
list_del(&hpage->lru);
/*
* Hwpoisoned hugepage isn't linked to activelist or freelist,
* but dangling hpage->lru can trigger list-debug warnings
* (this happens when we call unpoison_memory() on it),
* so let it point to itself with list_del_init().
*/
list_del_init(&hpage->lru);
set_page_refcounted(hpage);
h->free_huge_pages--;
h->free_huge_pages_node[nid]--;
Expand Down

0 comments on commit 03cc566

Please sign in to comment.