Re: [PATCH] mm: remove clear_page_idle()

From: David Hildenbrand
Date: Wed Jul 12 2023 - 11:57:41 EST


On 12.07.23 15:49, Xueshi Hu wrote:
All callers have now been converted to call folio_clear_idle().

Signed-off-by: Xueshi Hu <xueshi.hu@xxxxxxxxxx>
---
include/linux/page_idle.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
index 5cb7bd2078ec..d8f344840643 100644
--- a/include/linux/page_idle.h
+++ b/include/linux/page_idle.h
@@ -144,9 +144,4 @@ static inline void set_page_idle(struct page *page)
{
folio_set_idle(page_folio(page));
}
-
-static inline void clear_page_idle(struct page *page)
-{
- folio_clear_idle(page_folio(page));
-}
#endif /* _LINUX_MM_PAGE_IDLE_H */

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb