summaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorLi Hong <lihong.hi@gmail.com>2010-03-05 13:41:53 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 11:26:24 -0800
commitc475dab63ae798d81fb597a6a1859986b296d9d0 (patch)
treef2c18302f0fa261b0e82b4bf91bce48fe96209fb /mm/swap.c
parentf650316c8b80fe61a31b8b575405b37cbf170459 (diff)
downloadlinux-c475dab63ae798d81fb597a6a1859986b296d9d0.tar.gz
linux-c475dab63ae798d81fb597a6a1859986b296d9d0.tar.bz2
linux-c475dab63ae798d81fb597a6a1859986b296d9d0.zip
mm/page_alloc.c: adjust a call site to trace_mm_page_free_direct
Move a call of trace_mm_page_free_direct() from free_hot_page() to free_hot_cold_page(). It is clearer and close to kmemcheck_free_shadow(), as it is done in function __free_pages_ok(). Signed-off-by: Li Hong <lihong.hi@gmail.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Rik van Riel <riel@redhat.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Larry Woodman <lwoodman@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Li Ming Chun <macli@brc.ubc.ca> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions