From: "H. Peter Anvin" <hpa@zytor.com>
To: Borislav Petkov <bp@alien8.de>
Cc: LKML <linux-kernel@vger.kernel.org>, X86 ML <x86@kernel.org>,
Borislav Petkov <bp@suse.de>,
David Daney <david.daney@cavium.com>
Subject: Re: [PATCH] extable: Flip the sorting message
Date: Thu, 25 Apr 2013 14:54:45 -0700 [thread overview]
Message-ID: <5179A625.1080502@zytor.com> (raw)
In-Reply-To: <1366023109-12098-1-git-send-email-bp@alien8.de>
On 04/15/2013 03:51 AM, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> Now that we do sort the __extable at build time, we actually are
> interested only in the case where we still do need to sort it.
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: David Daney <david.daney@cavium.com>
> ---
> kernel/extable.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/kernel/extable.c b/kernel/extable.c
> index fe35a634bf76..67460b93b1a1 100644
> --- a/kernel/extable.c
> +++ b/kernel/extable.c
> @@ -41,10 +41,10 @@ u32 __initdata main_extable_sort_needed = 1;
> /* Sort the kernel's built-in exception table */
> void __init sort_main_extable(void)
> {
> - if (main_extable_sort_needed)
> + if (main_extable_sort_needed) {
> + pr_notice("Sorting __ex_table...\n");
> sort_extable(__start___ex_table, __stop___ex_table);
> - else
> - pr_notice("__ex_table already sorted, skipping sort\n");
> + }
> }
>
On some architectures we sort at runtime, on others we sort at build time.
Is there any reason for a message at all here?
-hpa
next prev parent reply other threads:[~2013-04-25 21:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 10:51 [PATCH] extable: Flip the sorting message Borislav Petkov
2013-04-15 11:42 ` [tip:x86/asm] " tip-bot for Borislav Petkov
2013-04-25 21:54 ` H. Peter Anvin [this message]
2013-04-25 22:05 ` [PATCH] " Borislav Petkov
2013-04-25 22:07 ` H. Peter Anvin
2013-04-25 22:15 ` David Daney
2013-04-25 22:17 ` H. Peter Anvin
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=5179A625.1080502@zytor.com \
--to=hpa@zytor.com \
--cc=bp@alien8.de \
--cc=bp@suse.de \
--cc=david.daney@cavium.com \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/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