[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230712134959.145373-1-xueshi.hu@smartx.com>
Date: Wed, 12 Jul 2023 21:49:59 +0800
From: Xueshi Hu <xueshi.hu@...rtx.com>
To: akpm@...ux-foundation.org, mhocko@...e.com,
quic_charante@...cinc.com, david@...hat.com
Cc: linux-kernel@...r.kernel.org, Xueshi Hu <xueshi.hu@...rtx.com>
Subject: [PATCH] mm: remove clear_page_idle()
All callers have now been converted to call folio_clear_idle().
Signed-off-by: Xueshi Hu <xueshi.hu@...rtx.com>
---
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 */
--
2.40.1
Powered by blists - more mailing lists