Thread (23 messages) 23 messages, 3 authors, 2015-03-02

Re: [patch 1/2] mm: remove GFP_THISNODE

flat view

From: Christoph Lameter <hidden>
Date: 2015-02-26 00:56:47
Also in: linux-mm, lkml

On Wed, 25 Feb 2015, David Rientjes wrote:
NOTE: this is not about __GFP_THISNODE, this is only about GFP_THISNODE.
Well but then its not removing it. You are replacing it with an inline
function.
quoted hunk ↗ jump to hunk
+
+/*
+ * Construct gfp mask to allocate from a specific node but do not invoke reclaim
+ * or warn about failures.
+ */
+static inline gfp_t gfp_exact_node(gfp_t flags)
+{
+	return (flags | __GFP_THISNODE | __GFP_NOWARN) & ~__GFP_WAIT;
+}
 #endif
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help