[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b98d71e7-9b0f-4c8d-4c90-d1cc1eb730a2@huawei.com>
Date: Tue, 7 May 2024 19:17:35 +0800
From: xiujianfeng <xiujianfeng@...wei.com>
To: Matthew Wilcox <willy@...radead.org>
CC: <hannes@...xchg.org>, <mhocko@...nel.org>, <roman.gushchin@...ux.dev>,
<shakeel.butt@...ux.dev>, <muchun.song@...ux.dev>,
<akpm@...ux-foundation.org>, <cgroups@...r.kernel.org>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] mm: memcg: use meaningful error code for return
value
On 2024/5/6 21:53, Matthew Wilcox wrote:
> On Mon, May 06, 2024 at 01:36:43PM +0000, Xiu Jianfeng wrote:
>> alloc_mem_cgroup_per_node_info() returns 1 if failed, use -ENOMEM
>> instead, which is more meaningful.
>
> This should probably be changed to return true/false instead of
> an int.
>
OK, already sent v2.
Powered by blists - more mailing lists