From: Vivek Goyal <vgoyal@in.ibm.com>
To: Gerd Hoffmann <kraxel@suse.de>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Andi Kleen <ak@muc.de>
Subject: Re: Will smp alternative try to patch init text also?
Date: Wed, 14 Feb 2007 16:42:09 +0530 [thread overview]
Message-ID: <20070214111209.GB3393@in.ibm.com> (raw)
In-Reply-To: <45D2E9B3.8080008@suse.de>
On Wed, Feb 14, 2007 at 11:51:31AM +0100, Gerd Hoffmann wrote:
> Vivek Goyal wrote:
> > So what happens if somebody builds a SMP kernel and runs on a UP machine.
> > Later it hotplus one CPU. Then kernel will switch to SMP mode. Looking
> > at the code it looks like it will also try to patch init text which is
> > no more there and will corrupt something else?
>
> There are range checks for both kernel (_text -> _etext) and modules
> (.text section). Anything outside isn't patched.
>
Oh... I missed that. Thanks.
Vivek
prev parent reply other threads:[~2007-02-14 11:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 10:43 Vivek Goyal
2007-02-14 10:51 ` Gerd Hoffmann
2007-02-14 11:12 ` Vivek Goyal [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=20070214111209.GB3393@in.ibm.com \
--to=vgoyal@in.ibm.com \
--cc=ak@muc.de \
--cc=kraxel@suse.de \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®