Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217355
b: refs/heads/master
c: 3ef8fd7
h: refs/heads/master
i:
  217353: 8a42f38
  217351: d977adc
v: v3
  • Loading branch information
Andi Kleen committed Oct 11, 2010
1 parent 13d0a3f commit 0e2eb01
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f672b49b07a4a152fc4251f2aec6b4d05164c4cd
refs/heads/master: 3ef8fd7f720fc4f462fcdcae2fcde6f1c0536bfe
2 changes: 2 additions & 0 deletions trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ static int remove_migration_pte(struct page *new, struct vm_area_struct *vma,
pte = pte_mkold(mk_pte(new, vma->vm_page_prot));
if (is_write_migration_entry(entry))
pte = pte_mkwrite(pte);
#ifdef CONFIG_HUGETLB_PAGE
if (PageHuge(new))
pte = pte_mkhuge(pte);
#endif
flush_cache_page(vma, addr, pte_pfn(pte));
set_pte_at(mm, addr, ptep, pte);

Expand Down

0 comments on commit 0e2eb01

Please sign in to comment.