|
Message-ID: <20200203173811.GB30011@infradead.org> Date: Mon, 3 Feb 2020 09:38:11 -0800 From: Christoph Hellwig <hch@...radead.org> To: Kees Cook <keescook@...omium.org> Cc: Christian Borntraeger <borntraeger@...ibm.com>, Christoph Hellwig <hch@...radead.org>, Christopher Lameter <cl@...ux.com>, Jiri Slaby <jslaby@...e.cz>, Julian Wiedmann <jwi@...ux.ibm.com>, Ursula Braun <ubraun@...ux.ibm.com>, Alexander Viro <viro@...iv.linux.org.uk>, linux-kernel@...r.kernel.org, David Windsor <dave@...lcore.net>, Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>, Joonsoo Kim <iamjoonsoo.kim@....com>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, linux-xfs@...r.kernel.org, Linus Torvalds <torvalds@...ux-foundation.org>, Andy Lutomirski <luto@...nel.org>, "David S. Miller" <davem@...emloft.net>, Laura Abbott <labbott@...hat.com>, Mark Rutland <mark.rutland@....com>, "Martin K. Petersen" <martin.petersen@...cle.com>, Paolo Bonzini <pbonzini@...hat.com>, Christoffer Dall <christoffer.dall@...aro.org>, Dave Kleikamp <dave.kleikamp@...cle.com>, Jan Kara <jack@...e.cz>, Luis de Bethencourt <luisbg@...nel.org>, Marc Zyngier <marc.zyngier@....com>, Rik van Riel <riel@...hat.com>, Matthew Garrett <mjg59@...gle.com>, linux-fsdevel@...r.kernel.org, linux-arch@...r.kernel.org, netdev@...r.kernel.org, kernel-hardening@...ts.openwall.com, Vlastimil Babka <vbabka@...e.cz>, Michal Kubecek <mkubecek@...e.cz> Subject: Re: [PATCH 09/38] usercopy: Mark kmalloc caches as usercopy caches On Thu, Jan 30, 2020 at 11:23:38AM -0800, Kees Cook wrote: > Hm, looks like it's allocated from the low 16MB. Seems like poor naming! > :) There seems to be a LOT of stuff using GFP_DMA, and it seems unlikely > those are all expecting low addresses? Most of that is either completely or partially bogus. Besides the weird S/390 stuff pretty much everything should be using the dma allocators. A couple really messed up drivers even pass GFP_DMA* to the dma allocator, but my patches to fix that up seem to be stuck.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.