]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/mempool: warn about __GFP_ZERO usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 22 May 2014 00:42:48 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:48 +0000 (10:42 +1000)
commit79cc286d74e397364e4732b14dd998f4b1913979
treed6b15c14e34d7791889f648d2cb7b782f3f5f891
parentde5ce7f1c5ff48086242c8242592e84a5a43febe
mm/mempool: warn about __GFP_ZERO usage

Memory obtained via mempool_alloc is not always zeroed even when
called with __GFP_ZERO. Add a note and VM_BUG_ON statement to make
that clear.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempool.c