From: Christoph Hellwig Subject: Re: [PATCH v2 0/9] mm: PG_reserved cleanups and documentation Date: Tue, 15 Jan 2019 07:38:39 -0800 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-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190114125903.24845-1-david@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+glpr-linux-riscv=m.gmane.org@lists.infradead.org To: David Hildenbrand Cc: Mark Rutland , Michal Hocko , CHANDAN VN , David Airlie , Benjamin Herrenschmidt , Bhupesh Sharma , Palmer Dabbelt , Heiko Carstens , Stefan Agner , Michal Hocko , David Howells , linux-mm@kvack.org, Paul Mackerras , linux-riscv@lists.infradead.org, Alexander Duyck , linux-s390@vger.kernel.org, Florian Fainelli , Arnd Bergmann , Michael Ellerman , Pavel Tatashin , Matthew Wilcox , AKASHI Takahiro , Geert Uytterhoeven Matthias Brugger List-Id: linux-mediatek@lists.infradead.org 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.