diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 6fbf707c0ce2..13d711dd8776 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1154,6 +1154,9 @@ static unsigned long shrink_page_list(struct list_head *page_list, | |||
1154 | if (split_huge_page_to_list(page, | 1154 | if (split_huge_page_to_list(page, |
1155 | page_list)) | 1155 | page_list)) |
1156 | goto activate_locked; | 1156 | goto activate_locked; |
1157 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | ||
1158 | count_vm_event(THP_SWPOUT_FALLBACK); | ||
1159 | #endif | ||
1157 | if (!add_to_swap(page)) | 1160 | if (!add_to_swap(page)) |
1158 | goto activate_locked; | 1161 | goto activate_locked; |
1159 | } | 1162 | } |