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


Groups > linux.kernel > #1631459

[PATCH 0/1] mm: Improve consistency of ___GFP_xxx masks

From Igor Stoppa <igor.stoppa@huawei.com>
Newsgroups linux.kernel
Subject [PATCH 0/1] mm: Improve consistency of ___GFP_xxx masks
Date 2017-04-26 15:40 +0200
Message-ID <tAvkJ-2S4-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The GFP bitmasks and the __GFP_BITS_SHIFT defines are expressed as
hardcoded constants.
This can be expressed in a more consistent way by relying on an enum of
shift positions.

Igor Stoppa (1):
  Remove hardcoding of ___GFP_xxx bitmasks

 include/linux/gfp.h | 82 +++++++++++++++++++++++++++++++++++------------------
 1 file changed, 55 insertions(+), 27 deletions(-)

-- 
2.9.3

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


Thread

[PATCH 0/1] mm: Improve consistency of ___GFP_xxx masks Igor Stoppa <igor.stoppa@huawei.com> - 2017-04-26 15:40 +0200

csiph-web