[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yd3XFjz9eKVpYHsM@carbon.dhcp.thefacebook.com>
Date: Tue, 11 Jan 2022 11:14:30 -0800
From: Roman Gushchin <guro@...com>
To: Muchun Song <songmuchun@...edance.com>
CC: <willy@...radead.org>, <akpm@...ux-foundation.org>,
<hannes@...xchg.org>, <mhocko@...nel.org>,
<vdavydov.dev@...il.com>, <shakeelb@...gle.com>,
<shy828301@...il.com>, <alexs@...nel.org>,
<richard.weiyang@...il.com>, <david@...morbit.com>,
<trond.myklebust@...merspace.com>, <anna.schumaker@...app.com>,
<jaegeuk@...nel.org>, <chao@...nel.org>,
<kari.argillander@...il.com>, <linux-fsdevel@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
<linux-nfs@...r.kernel.org>, <zhengqi.arch@...edance.com>,
<duanxiongchun@...edance.com>, <fam.zheng@...edance.com>,
<smuchun@...il.com>
Subject: Re: [PATCH v5 08/16] xarray: use kmem_cache_alloc_lru to allocate
xa_node
On Mon, Dec 20, 2021 at 04:56:41PM +0800, Muchun Song wrote:
> The workingset will add the xa_node to the shadow_nodes list. So the
> allocation of xa_node should be done by kmem_cache_alloc_lru(). Using
> xas_set_lru() to pass the list_lru which we want to insert xa_node
> into to set up the xa_node reclaim context correctly.
>
> Signed-off-by: Muchun Song <songmuchun@...edance.com>
> Acked-by: Johannes Weiner <hannes@...xchg.org>
Acked-by: Roman Gushchin <guro@...com>
Thanks!
Powered by blists - more mailing lists