[PATCH 2/3] mm/slab: delete cache_alloc_debugcheck_before()
David Rientjes
rientjes at google.com
Sun Jun 12 23:00:11 UTC 2022
On Sun, 5 Jun 2022, Daniel Vetter wrote:
> 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.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Christoph Lameter <cl at linux.com>
> Cc: Pekka Enberg <penberg at kernel.org>
> Cc: David Rientjes <rientjes at google.com>
> Cc: Joonsoo Kim <iamjoonsoo.kim at lge.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Vlastimil Babka <vbabka at suse.cz>
> Cc: Roman Gushchin <roman.gushchin at linux.dev>
> Cc: linux-mm at kvack.org
Acked-by: David Rientjes <rientjes at google.com>
More information about the dri-devel
mailing list