Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272161
b: refs/heads/master
c: 2f1da64
h: refs/heads/master
i:
  272159: 0cc1f87
v: v3
  • Loading branch information
H Hartley Sweeten authored and Linus Torvalds committed Nov 1, 2011
1 parent 1dbce72 commit d8b70a3
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e754d79d35f0b8612445a9bd7491c48d7317e3ad
refs/heads/master: 2f1da6421570d064a94e17190a4955c2df99794d
5 changes: 4 additions & 1 deletion trunk/mm/huge_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ struct khugepaged_scan {
struct list_head mm_head;
struct mm_slot *mm_slot;
unsigned long address;
} khugepaged_scan = {
};
static struct khugepaged_scan khugepaged_scan = {
.mm_head = LIST_HEAD_INIT(khugepaged_scan.mm_head),
};

Expand Down Expand Up @@ -2069,6 +2070,8 @@ static void collect_mm_slot(struct mm_slot *mm_slot)

static unsigned int khugepaged_scan_mm_slot(unsigned int pages,
struct page **hpage)
__releases(&khugepaged_mm_lock)
__acquires(&khugepaged_mm_lock)
{
struct mm_slot *mm_slot;
struct mm_struct *mm;
Expand Down

0 comments on commit d8b70a3

Please sign in to comment.