lkml.org 
[lkml]   [2015]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: wrap BUG() branches with unlikely()
On Tue, 13 Jan 2015 01:35:26 +0300 Dmitry Voytik <voytikd@gmail.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.



\
 
 \ /
  Last update: 2015-01-14 01:21    [W:0.033 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site