From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by kanga.kvack.org (Postfix) with ESMTP id 5EE948E0002 for ; Tue, 15 Jan 2019 10:38:45 -0500 (EST) Received: by mail-pl1-f199.google.com with SMTP id j8so1859022plb.1 for ; Tue, 15 Jan 2019 07:38:45 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id e6si3553861pgp.504.2019.01.15.07.38.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Jan 2019 07:38:44 -0800 (PST) Date: Tue, 15 Jan 2019 07:38:39 -0800 From: Christoph Hellwig Subject: Re: [PATCH v2 0/9] mm: PG_reserved cleanups and documentation Message-ID: <20190115153839.GE26443@infradead.org> References: <20190114125903.24845-1-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190114125903.24845-1-david@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: David Hildenbrand Cc: linux-mm@kvack.org, Mark Rutland , Michal Hocko , CHANDAN VN , David Airlie , Benjamin Herrenschmidt , Bhupesh Sharma , Palmer Dabbelt , Heiko Carstens , Tony Luck , Stefan Agner , Michal Hocko , David Howells , Paul Mackerras , Michael Ellerman , linux-riscv@lists.infradead.org, Alexander Duyck , linux-s390@vger.kernel.org, Florian Fainelli , Vasily Gorbik , Logan Gunthorpe , Pavel Tatashin , Matthew Wilcox , AKASHI Takahiro , Geert Uytterhoeven , Catalin Marinas , Anthony Yznaga , Tobias Klauser , Laura Abbott , Fenghua Yu , Albert Ou , Kees Cook , Arnd Bergmann , Stephen Rothwell , Marc Zyngier , Will Deacon , Kristina Martsenko , linux-m68k@lists.linux-m68k.org, Dave Kleikamp , linux-mediatek@lists.infradead.org, Oleg Nesterov , Dan Williams , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Matthias Brugger , Greg Kroah-Hartman , Randy Dunlap , linux-kernel@vger.kernel.org, Miles Chen , Mike Rapoport , James Morse , Souptick Joarder , Johannes Weiner , Martin Schwidefsky , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Greg Hackmann On Mon, Jan 14, 2019 at 01:58:54PM +0100, David Hildenbrand wrote: > Nothing major changed since the last version. I would be happy about > additional ACKs. If there are no further comments, can this go via the > mm-tree in one chunk? > > I was recently going over all users of PG_reserved. Short story: it is > difficult and sometimes not really clear if setting/checking for > PG_reserved is only a relict from the past. Easy to break things. I > guess I now have a pretty good idea wh things are like that > nowadays and how they evolved. Any reason you skipped drivers/gpu/drm/drm_pci.c:drm_pci_alloc() and drivers/gpu/drm/drm_scatter.c:drm_legacy_sg_alloc() which both look completely bogus as-is? In fact we should probably just try to kill them off as they have very few users left.