• Li Hong's avatar
    mm: remove free_hot_page() · fc91668e
    Li Hong authored
    free_hot_page() is just a wrapper around free_hot_cold_page() with
    parameter 'cold = 0'.  After adding a clear comment for
    free_hot_cold_page(), it is reasonable to remove a level of call.
    
    [akpm@linux-foundation.org: fix build]
    Signed-off-by: default avatarLi 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>
    Cc: Americo Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    fc91668e
page_alloc.c 141 KB