From: Xueshi Hu <xueshi.hu@smartx.com>
To: akpm@linux-foundation.org, mhocko@suse.com,
quic_charante@quicinc.com, david@redhat.com
Cc: linux-kernel@vger.kernel.org, Xueshi Hu <xueshi.hu@smartx.com>
Subject: [PATCH] mm: remove clear_page_idle()
Date: Wed, 12 Jul 2023 21:49:59 +0800 [thread overview]
Message-ID: <20230712134959.145373-1-xueshi.hu@smartx.com> (raw)
All callers have now been converted to call folio_clear_idle().
Signed-off-by: Xueshi Hu <xueshi.hu@smartx.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
next reply other threads:[~2023-07-12 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 13:49 Xueshi Hu [this message]
2023-07-12 15:56 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230712134959.145373-1-xueshi.hu@smartx.com \
--to=xueshi.hu@smartx.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=quic_charante@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®