lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Aug 2016 15:24:55 +0800
From:	zijun_hu <zijun_hu@...o.com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from
 __KERNEL__ scope

On 08/16/2016 02:50 PM, Stephen Rothwell wrote:
> Hi,
> 
> On Tue, 16 Aug 2016 14:27:04 +0800 zijun_hu <zijun_hu@...o.com> wrote:
>>
>> From: zijun_hu <zijun_hu@....com>
>>
>> move out get_count_order[_long]() definitions from scope limited
>> by macro __KERNEL__
> 
> Why do you need to do this?  You say why in the commit message.
> 
1, it make both functions available in wider region regardless of
   whether macro __KERNEL__ is defined
2, get_count_order() locates out off region limited by macro __KERNEL__
   before the recent commit c513b4cd2fe9
   ("mm-vmalloc-fix-align-value-calculation-error-v2-fix-fix")
   it maybe more perfect to keep its original region and place its counterpart
   get_count_order_long() nearly

thanks for your reply

Powered by blists - more mailing lists