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: <20150113160339.48bca23938e61cda8480f289@linux-foundation.org>
Date:	Tue, 13 Jan 2015 16:03:39 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Dmitry Voytik <voytikd@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm: wrap BUG() branches with unlikely()

On Tue, 13 Jan 2015 01:35:26 +0300 Dmitry Voytik <voytikd@...il.com> wrote:

> Wrap BUG() branches with unlikely() where it is possible. Use BUG_ON()
> instead of "if () BUG();" where it is feasible.

Does this actually do anything?  With my (old) gcc, mm/built-in.o's
size was unaltered.  I didn't check for code generation differences.

--
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