From: Dave Jones <davej@redhat.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Chuck Ebbert <76306.1226@compuserve.com>,
Magnus Damm <magnus@valinux.co.jp>,
linux-kernel <linux-kernel@vger.kernel.org>,
Andi Kleen <ak@suse.de>
Subject: Re: [PATCH for review] [140/145] i386: mark cpu_dev structures as __cpuinitdata
Date: Tue, 15 Aug 2006 12:59:47 -0400 [thread overview]
Message-ID: <20060815165947.GE7612@redhat.com> (raw)
In-Reply-To: <1155627804.3011.46.camel@laptopd505.fenrus.org>
On Tue, Aug 15, 2006 at 09:43:23AM +0200, Arjan van de Ven wrote:
> On Tue, 2006-08-15 at 02:46 -0400, Chuck Ebbert wrote:
> > In-Reply-To: <1155518783.5764.10.camel@localhost>
> >
> > On Mon, 14 Aug 2006 10:26:23 +0900, Magnus Damm wrote:
> >
> > > > > The different cpu_dev structures are all used from __cpuinit callers what
> > > > > I can tell. So mark them as __cpuinitdata instead of __initdata. I am a
> > > > > little bit unsure about arch/i386/common.c:default_cpu, especially when it
> > > > > comes to the purpose of this_cpu.
> > > >
> > > > But none of these CPUs supports hotplug and only one (AMD) does SMP.
> > > > So this is just wasting space in the kernel at runtime.
> > >
> > > How could this be wasting space? If you compile with CONFIG_HOTPLUG_CPU
> > > disabled then __cpuinitdata will become __initdata - ie the same as
> > > before. Not a single byte wasted what I can tell.
> >
> > I was talking about wasted space with HOTPLUG_CPU enabled, of course.
> > Nobody is ever going to hotplug a VIA, Cyrix, Geode, etc. CPU, yet your
> > patch makes the kernel carry that code and data anyway.
>
> remember that suspend uses software hot(un)plug as well...
Only for non-boot CPUs. The vendors above (with exception of VIA)
never made SMP systems.
Dave
--
http://www.codemonkey.org.uk
next prev parent reply other threads:[~2006-08-15 17:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 6:46 [PATCH for review] [140/145] i386: mark cpu_dev structures as __cpuinitdata Chuck Ebbert
2006-08-15 7:43 ` Arjan van de Ven
2006-08-15 16:59 ` Dave Jones [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-11 15:24 Chuck Ebbert
2006-08-11 16:07 ` Andi Kleen
2006-08-14 1:26 ` Magnus Damm
[not found] <20060810 935.775038000@suse.de>
2006-08-10 19:37 ` Andi Kleen
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=20060815165947.GE7612@redhat.com \
--to=davej@redhat.com \
--cc=76306.1226@compuserve.com \
--cc=ak@suse.de \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus@valinux.co.jp \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.