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

From: David Hildenbrand
Date: Wed Feb 02 2022 - 12:02:00 EST


On 02.02.22 15:35, Christoph Hellwig wrote:
> 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.

Right now I'm planning on using it in part 2 -- on which I'm currently
working on. If I don't end up reusing it, I'll remember to remove it.

--
Thanks,

David / dhildenb