diff options
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r-- | mm/huge_memory.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index d79f7a55bf6f..ee8133794a56 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c | |||
@@ -1046,6 +1046,7 @@ int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, | |||
1046 | */ | 1046 | */ |
1047 | split_huge_page(page); | 1047 | split_huge_page(page); |
1048 | put_page(page); | 1048 | put_page(page); |
1049 | |||
1049 | return 0; | 1050 | return 0; |
1050 | 1051 | ||
1051 | clear_pmdnuma: | 1052 | clear_pmdnuma: |
@@ -1060,8 +1061,10 @@ clear_pmdnuma: | |||
1060 | 1061 | ||
1061 | out_unlock: | 1062 | out_unlock: |
1062 | spin_unlock(&mm->page_table_lock); | 1063 | spin_unlock(&mm->page_table_lock); |
1063 | if (page) | 1064 | if (page) { |
1064 | put_page(page); | 1065 | put_page(page); |
1066 | task_numa_fault(numa_node_id(), HPAGE_PMD_NR); | ||
1067 | } | ||
1065 | return 0; | 1068 | return 0; |
1066 | } | 1069 | } |
1067 | 1070 | ||