summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorDavid Rientjes2017-11-16 02:32:14 +0100
committerLinus Torvalds2017-11-16 03:21:01 +0100
commita3ba074447824625d3a267a5fffd2ea21556ebf4 (patch)
tree87f3eff9e8cc84bea307d95bcda20ab04d1138ec /mm/slub.c
parentmm/slob.c: remove an unnecessary check for __GFP_ZERO (diff)
downloadkernel-qcow2-linux-a3ba074447824625d3a267a5fffd2ea21556ebf4.tar.gz
kernel-qcow2-linux-a3ba074447824625d3a267a5fffd2ea21556ebf4.tar.xz
kernel-qcow2-linux-a3ba074447824625d3a267a5fffd2ea21556ebf4.zip
mm/slab.c: only set __GFP_RECLAIMABLE once
SLAB_RECLAIM_ACCOUNT is a permanent attribute of a slab cache. Set __GFP_RECLAIMABLE as part of its ->allocflags rather than check the cachep flag on every page allocation. Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1710171527560.140898@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Mel Gorman <mgorman@techsingularity.net> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions