From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 666E6C433FE for ; Wed, 2 Feb 2022 14:35:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238998AbiBBOfz (ORCPT ); Wed, 2 Feb 2022 09:35:55 -0500 Received: from verein.lst.de ([213.95.11.211]:34359 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbiBBOfy (ORCPT ); Wed, 2 Feb 2022 09:35:54 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 5087468AFE; Wed, 2 Feb 2022 15:35:49 +0100 (CET) Date: Wed, 2 Feb 2022 15:35:49 +0100 From: Christoph Hellwig To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, Andrew Morton , Hugh Dickins , Linus Torvalds , David Rientjes , Shakeel Butt , John Hubbard , Jason Gunthorpe , Mike Kravetz , Mike Rapoport , Yang Shi , "Kirill A . Shutemov" , Matthew Wilcox , Vlastimil Babka , Jann Horn , Michal Hocko , Nadav Amit , Rik van Riel , Roman Gushchin , Andrea Arcangeli , Peter Xu , Donald Dutile , Christoph Hellwig , Oleg Nesterov , Jan Kara , Liang Zhang , linux-mm@kvack.org Subject: Re: [PATCH v3 7/9] mm/swapfile: remove stale reuse_swap_page() Message-ID: <20220202143549.GA24789@lst.de> References: <20220131162940.210846-1-david@redhat.com> <20220131162940.210846-8-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220131162940.210846-8-david@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.