Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213087

Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types
Date 2015-08-25 16:40 +0200
Message-ID <q1nyi-Od-9@gated-at.bofh.it> (permalink)
References <q0YTf-7q8-1@gated-at.bofh.it> <q0YTg-7q8-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/24/2015 02:09 PM, Mel Gorman wrote:
> This patch redefines which GFP bits are used for specifying mobility and
> the order of the migrate types. Once redefined it's possible to convert
> GFP flags to a migrate type with a simple mask and shift. The only downside
> is that readers of OOM kill messages and allocation failures may have been
> used to the existing values but scripts/gfp-translate will help.

Yeah after patches 7 and 8, this is not much of a concern :)

> Signed-off-by: Mel Gorman <mgorman@techsingularity.net>

Acked-by: Vlastimil Babka <vbabka@suse.cz>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types Mel Gorman <mgorman@techsingularity.net> - 2015-08-24 14:20 +0200
  Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when  converting GFP flags to migrate types Vlastimil Babka <vbabka@suse.cz> - 2015-08-25 16:40 +0200

csiph-web