Re: [PATCH alt 13/25] mm/fbatch: no lru_add_drain() to collect_longterm_unpinnable_folios()

"David Hildenbrand (Arm)" <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/24/26 16:55, Hugh Dickins wrote:
> collect_longterm_unpinnable_folios() has no use for lru_add_drain() nor
> lru_add_drain_all(), now that the per-cpu fbatch references are gone.
> So remove the recently added lru_cache_drain_for_folio().
> 
> Signed-off-by: Hugh Dickins <[email protected]>
> ---
> Alternate version for use once David Hildenbrand's two commits
> here have been pulled from mm.git into linux.git for 7.3-rc1.

For 7.4 we expect another user of the helper in KVM guest_memfd code (the
primary reason why we introduce the helper), so depending on when this series is
ready it will just remove that user as well, or we'll need some coordination
between trees.

-- 
Cheers,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.