From: Ingo Molnar <mingo@elte.hu>
To: Brian Gerst <brgerst@gmail.com>
Cc: Tejun Heo <tj@kernel.org>,
linux-kernel@vger.kernel.org, Jiri Slaby <jirislaby@gmail.com>
Subject: Re: [PATCH 2/3] x86: Use linker to offset symbols by __per_cpu_load
Date: Mon, 9 Feb 2009 10:29:51 +0100 [thread overview]
Message-ID: <20090209092951.GB7930@elte.hu> (raw)
In-Reply-To: <1234105120-19731-2-git-send-email-brgerst@gmail.com>
* Brian Gerst <brgerst@gmail.com> wrote:
> Impact: cleanup and bug fix
>
> Use the linker to create symbols for certain per-cpu variables
> that are offset by __per_cpu_load. This allows the removal of
> the runtime fixup of the GDT pointer, which fixes a bug with
> resume reported by Jiri Slaby.
>
> Signed-off-by: Brian Gerst <brgerst@gmail.com>
> Cc: Jiri Slaby <jirislaby@gmail.com>
> ---
> arch/x86/include/asm/percpu.h | 22 ++++++++++++++++++++++
> arch/x86/include/asm/processor.h | 2 ++
> arch/x86/kernel/cpu/common.c | 6 +-----
> arch/x86/kernel/head_64.S | 21 ++-------------------
> arch/x86/kernel/vmlinux_64.lds.S | 8 ++++++++
> 5 files changed, 35 insertions(+), 24 deletions(-)
applied to tip/core/percpu, thanks!
Also added these tags:
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Ingo
next prev parent reply other threads:[~2009-02-09 9:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 14:58 [PATCH 1/3] percpu: Make PER_CPU_BASE_SECTION overridable by arches Brian Gerst
2009-02-08 14:58 ` [PATCH 2/3] x86: Use linker to offset symbols by __per_cpu_load Brian Gerst
2009-02-09 9:29 ` Ingo Molnar [this message]
2009-02-11 22:53 ` Jiri Slaby
2009-02-08 14:58 ` [PATCH 3/3] x86: Fix abuse of per_cpu_offset Brian Gerst
2009-02-09 9:31 ` Ingo Molnar
2009-02-09 9:29 ` [PATCH 1/3] percpu: Make PER_CPU_BASE_SECTION overridable by arches Ingo Molnar
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=20090209092951.GB7930@elte.hu \
--to=mingo@elte.hu \
--cc=brgerst@gmail.com \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@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