Re: [PATCH v5 07/16] mm: dcache: use kmem_cache_alloc_lru() to allocate dentry

From: Roman Gushchin
Date: Tue Jan 11 2022 - 14:05:53 EST


On Mon, Dec 20, 2021 at 04:56:40PM +0800, Muchun Song wrote:
> Like inode cache, the dentry will also be added to its memcg list_lru.
> So replace kmem_cache_alloc() with kmem_cache_alloc_lru() to allocate
> dentry.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Acked-by: Roman Gushchin <guro@xxxxxx>