diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ee37091b191b..caa7df60a4a1 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1083,6 +1083,7 @@ static void free_hot_cold_page(struct page *page, int cold) | |||
1083 | int migratetype; | 1083 | int migratetype; |
1084 | int wasMlocked = __TestClearPageMlocked(page); | 1084 | int wasMlocked = __TestClearPageMlocked(page); |
1085 | 1085 | ||
1086 | trace_mm_page_free_direct(page, 0); | ||
1086 | kmemcheck_free_shadow(page, 0); | 1087 | kmemcheck_free_shadow(page, 0); |
1087 | 1088 | ||
1088 | if (PageAnon(page)) | 1089 | if (PageAnon(page)) |
@@ -1136,7 +1137,6 @@ out: | |||
1136 | 1137 | ||
1137 | void free_hot_page(struct page *page) | 1138 | void free_hot_page(struct page *page) |
1138 | { | 1139 | { |
1139 | trace_mm_page_free_direct(page, 0); | ||
1140 | free_hot_cold_page(page, 0); | 1140 | free_hot_cold_page(page, 0); |
1141 | } | 1141 | } |
1142 | 1142 | ||