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] [day] [month] [year] [list]
Message-ID: <538516EE.40209@infradead.org>
Date:	Tue, 27 May 2014 15:51:26 -0700
From:	Randy Dunlap <rdunlap@...radead.org>
To:	Thavatchai Makphaibulchoke <thavatchai.makpahibulchoke@...com>,
	werner <w.landgraf@...ru>, linux-kernel@...r.kernel.org
CC:	"T. Makphaibulchoke" <tmac@...com>,
	Andreas Gruenbacher <a.gruenbacher@...puter.org>,
	Theodore Ts'o <tytso@....edu>,
	Al Viro <viro@...iv.linux.org.uk>
Subject: Re: 3.15-rc6  build / link failed  fs/built-in  mb_cache_entry problems

On 05/27/2014 03:22 PM, Thavatchai Makphaibulchoke wrote:
> On 05/26/2014 11:04 PM, Randy Dunlap wrote:
>> On 05/26/2014 11:17 AM, werner wrote:
>> @tmac:  can mbcache.c #include <linux/log2.h> and use ilog2(NR_BG_LOCKS)
>> instead of using __builtin_log2(NR_BG_LOCKS) ?
>> (ref. commit ID 1f3e55fe02d12213f87869768aa2b0bad3ba9a7d)
>>
> 
> I don't see any problem with that, unless somebody else has any concern.  Please let me know if you'd like me to submit the change.

I'd say yes since some gcc version(s) don't seem to support __builtin_log2().

-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ