From: Andrew Morton <akpm@linux-foundation.org>
To: Dmitry Voytik <voytikd@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] mm: wrap BUG() branches with unlikely()
Date: Tue, 13 Jan 2015 16:03:39 -0800 [thread overview]
Message-ID: <20150113160339.48bca23938e61cda8480f289@linux-foundation.org> (raw)
In-Reply-To: <1421102126-3637-1-git-send-email-voytikd@gmail.com>
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.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2015-01-14 0:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 22:35 Dmitry Voytik
2015-01-14 0:03 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150113160339.48bca23938e61cda8480f289@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=voytikd@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox