[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <330464cd-a7d4-f1e1-da93-a6fd172ee561@zoho.com>
Date: Fri, 14 Oct 2016 08:58:53 +0800
From: zijun_hu <zijun_hu@...o.com>
To: Tejun Heo <tj@...nel.org>
Cc: zijun_hu@....com, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when
allocate a odd alignment area
On 2016/10/14 8:28, Tejun Heo wrote:
> Hello,
>
> On Fri, Oct 14, 2016 at 08:23:06AM +0800, zijun_hu wrote:
>> for the current code, only power of 2 alignment value can works well
>>
>> is it acceptable to performing a power of 2 checking and returning error code
>> if fail?
>
> Yeah, just add is_power_of_2() test to the existing sanity check.
>
> Thanks.
>
okay. i will do that
Powered by blists - more mailing lists