Messages in this thread | | | Date | Sun, 12 Jun 2022 16:00:11 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH 2/3] mm/slab: delete cache_alloc_debugcheck_before() |
| |
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@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: Andrew Morton <akpm@linux-foundation.org> > Cc: Vlastimil Babka <vbabka@suse.cz> > Cc: Roman Gushchin <roman.gushchin@linux.dev> > Cc: linux-mm@kvack.org
Acked-by: David Rientjes <rientjes@google.com>
| |