aboutsummaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r--mm/huge_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 481fb0128d21..121a7f808216 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1586,7 +1586,7 @@ static void __split_huge_pmd_locked(struct vm_area_struct *vma, pmd_t *pmd,
1586 1586
1587 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { 1587 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) {
1588 /* Last compound_mapcount is gone. */ 1588 /* Last compound_mapcount is gone. */
1589 __dec_zone_page_state(page, NR_ANON_THPS); 1589 __dec_node_page_state(page, NR_ANON_THPS);
1590 if (TestClearPageDoubleMap(page)) { 1590 if (TestClearPageDoubleMap(page)) {
1591 /* No need in mapcount reference anymore */ 1591 /* No need in mapcount reference anymore */
1592 for (i = 0; i < HPAGE_PMD_NR; i++) 1592 for (i = 0; i < HPAGE_PMD_NR; i++)
@@ -2061,7 +2061,7 @@ int split_huge_page_to_list(struct page *page, struct list_head *list)
2061 list_del(page_deferred_list(head)); 2061 list_del(page_deferred_list(head));
2062 } 2062 }
2063 if (mapping) 2063 if (mapping)
2064 __dec_zone_page_state(page, NR_SHMEM_THPS); 2064 __dec_node_page_state(page, NR_SHMEM_THPS);
2065 spin_unlock(&pgdata->split_queue_lock); 2065 spin_unlock(&pgdata->split_queue_lock);
2066 __split_huge_page(page, list, flags); 2066 __split_huge_page(page, list, flags);
2067 ret = 0; 2067 ret = 0;