From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: introduce init_memory_mapping for 32bit
Date: Wed, 25 Jun 2008 16:45:05 +0200 [thread overview]
Message-ID: <20080625144504.GA18796@elte.hu> (raw)
In-Reply-To: <86802c440806241222h574c2a1cidf4191f7f6f3f372@mail.gmail.com>
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> On Tue, Jun 24, 2008 at 4:30 AM, Ingo Molnar <mingo@elte.hu> wrote:
> >
> > * Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> >
> >> so could use mem below max_low_pfn as early. could move several
> >> function more early instead of waiting after paging_init including
> >> moving relocate_initrd early, and kva related early done in
> >> initmem_init
> >
> > applied to tip/x86/setup-memory - thanks Yinghai.
> >
> > a sidenote:
> >
> >> 6 files changed, 128 insertions(+), 74 deletions(-)
> >
> > this patch is too large - if it causes any problems it will not be very
> > easy to figure out which exact change caused the problems.
> >
> > Lets hope it goes all fine - but in the future lets try doing
> > more+smaller patches, especially if they change some known-dangerous
> > area of the kernel.
> >
> > For example here a better splitup would have been to do 5 or more
> > patches:
> >
> > 1) first introduce init_memory_mapping() [but dont use it anywhere]
> > 2) add the init_memory_mapping() call to setup_arch()
> > 3) move remap_numa_kva()
> > 4) move relocate_initrd()
> > 5) remove the now unnecessary setup from paging_init()
> >
> > ... or something like that. The point is to manage risk: if there's
> > multiple problem areas that a change is touching, try to isolate them
> > from each other and introduce the change gradually.
> >
> > The end result is still exactly the same, but much more
> > reviewable/debuggable/bisectable.
>
> split into 3 patches, please use them to replace the old one if you
> like.
i've applied them to tip/x86/setup-memory, replacing the larger patch -
thanks Yinghai.
Ingo
next prev parent reply other threads:[~2008-06-25 14:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 2:51 [PATCH] x86: move some func calling from setup_arch to paging_init Yinghai Lu
2008-06-24 2:52 ` [PATCH] x86: setup_arch 64bit move efi_init calling early Yinghai Lu
2008-06-24 2:52 ` [PATCH] x86: setup_arch 64bit move kvmclock_init later Yinghai Lu
2008-06-24 2:53 ` [PATCH] x86: setup_arch 32bit move efi check later Yinghai Lu
2008-06-24 2:54 ` [PATCH] x86: setup_arch 32bit move command line copying early Yinghai Lu
2008-06-24 2:55 ` [PATCH] x86: setup_arch 32bit move kvm_guest_init later Yinghai Lu
2008-06-24 10:53 ` Ingo Molnar
2008-06-24 11:10 ` Yinghai Lu
2008-06-24 11:10 ` [PATCH] x86: introduce init_memory_mapping for 32bit Yinghai Lu
2008-06-24 11:30 ` Ingo Molnar
2008-06-24 17:16 ` Yinghai Lu
2008-06-24 19:22 ` Yinghai Lu
2008-06-24 22:02 ` Yinghai Lu
2008-06-25 14:45 ` Ingo Molnar [this message]
2008-06-24 19:18 ` [PATCH] x86: introduce init_memory_mapping for 32bit #1 Yinghai Lu
2008-06-24 19:18 ` [PATCH] x86: introduce init_memory_mapping for 32bit #2 Yinghai Lu
2008-06-24 19:19 ` [PATCH] x86: introduce init_memory_mapping for 32bit #3 Yinghai Lu
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=20080625144504.GA18796@elte.hu \
--to=mingo@elte.hu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=yhlu.kernel@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 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.