[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cad86094-c9ce-7bc1-5342-2bb03b512e71@oracle.com>
Date: Tue, 6 Aug 2019 10:26:49 -0700
From: Jane Chu <jane.chu@...cle.com>
To: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>
Subject: Re: [PATCH v3 1/2] mm/memory-failure.c clean up around tk
pre-allocation
Hi, Naoya,
Thanks a lot! v4 on the way. :)
-jane
On 8/1/2019 2:06 AM, Naoya Horiguchi wrote:
> On Thu, Jul 25, 2019 at 04:01:40PM -0600, Jane Chu wrote:
>> add_to_kill() expects the first 'tk' to be pre-allocated, it makes
>> subsequent allocations on need basis, this makes the code a bit
>> difficult to read. Move all the allocation internal to add_to_kill()
>> and drop the **tk argument.
>>
>> Signed-off-by: Jane Chu <jane.chu@...cle.com>
>
> Acked-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
>
> # somehow I sent 2 acks to 2/2, sorry about the noise.
>
Powered by blists - more mailing lists