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


Groups > linux.kernel > #1631459 > unrolled thread

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

Started byIgor Stoppa <igor.stoppa@huawei.com>
First post2017-04-26 15:40 +0200
Last post2017-04-26 15:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromIgor Stoppa <igor.stoppa@huawei.com>
Date2017-04-26 15:40 +0200
Subject[PATCH 0/1] mm: Improve consistency of ___GFP_xxx masks
Message-ID<tAvkJ-2S4-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web