Thread (13 messages) 13 messages, 5 authors, 2019-01-15

Re: [PATCH] mm: Introduce GFP_PGTABLE

flat view

From: Matthew Wilcox <willy@infradead.org>
Date: 2019-01-12 15:49:57
Also in: kvmarm, linux-mm, linux-sh, linuxppc-dev, lkml

On Sat, Jan 12, 2019 at 02:49:29PM +0100, Christophe Leroy wrote:
As far as I can see,

#define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)

So what's the difference between:

(GFP_KERNEL_ACCOUNT | __GFP_ZERO) & ~__GFP_ACCOUNT

and

(GFP_KERNEL | __GFP_ZERO) & ~__GFP_ACCOUNT
Nothing.  But there's a huge difference in the other parts of that same
file where GFP_ACCOUNT is _not_ used.

I think this unification is too small to bother with.  Something I've
had on my todo list for some time and have not done anything about
is to actually unify all of the architecture pte/pmd/... allocations.
There are tricks some architectures use that others would benefit from.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help