aboutsummaryrefslogtreecommitdiff
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorGravatar Daniel Vetter <daniel.vetter@ffwll.ch> 2022-06-05 17:25:38 +0200
committerGravatar akpm <akpm@linux-foundation.org> 2022-06-16 19:48:29 -0700
commita3967244430eb91698ac8dca7db8bd0871251305 (patch)
tree2c1e68fcdc6f96c6f07a97f0f60e607f4fa11c20 /mm/mempool.c
parentmm/page_alloc: use might_alloc() (diff)
downloadlinux-a3967244430eb91698ac8dca7db8bd0871251305.tar.gz
linux-a3967244430eb91698ac8dca7db8bd0871251305.tar.bz2
linux-a3967244430eb91698ac8dca7db8bd0871251305.zip
mm/slab: delete cache_alloc_debugcheck_before()
It only does a might_sleep_if(GFP_RECLAIM) check, which is already covered by the might_alloc() in slab_pre_alloc_hook(). And all callers of cache_alloc_debugcheck_before() call that beforehand already. Link: https://lkml.kernel.org/r/20220605152539.3196045-2-daniel.vetter@ffwll.ch Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Roman Gushchin <roman.gushchin@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions