Re: [PATCH v3 7/9] mm/swapfile: remove stale reuse_swap_page()

From: Christoph Hellwig
Date: Wed Feb 02 2022 - 09:35:56 EST


On Mon, Jan 31, 2022 at 05:29:37PM +0100, David Hildenbrand wrote:
> All users are gone, let's remove it. We'll let SWP_STABLE_WRITES stick
> around for now, as it might come in handy in the near future.

I don't think leaving a flag that has no user an a completely trivial
place to set it around is a good idea. This is a classic case of
bitrot.