Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm: remove clear_page_idle()

All callers have now been converted to call folio_clear_idle().

Link: https://lkml.kernel.org/r/20230712134959.145373-1-xueshi.hu@smartx.com
Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Charan Teja Kalla <quic_charante@quicinc.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Xueshi Hu and committed by
Andrew Morton
73e791d7 610d0657

-5
-5
include/linux/page_idle.h
··· 144 144 { 145 145 folio_set_idle(page_folio(page)); 146 146 } 147 - 148 - static inline void clear_page_idle(struct page *page) 149 - { 150 - folio_clear_idle(page_folio(page)); 151 - } 152 147 #endif /* _LINUX_MM_PAGE_IDLE_H */