From: Jaswinder Singh Rajput <jaswinder@kernel.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>,
x86 maintainers <x86@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Rusty Russell <rusty@rustcorp.com.au>,
Andi Kleen <andi@firstfloor.org>
Subject: Re: [PATCH -tip] x86: unification of module.c
Date: Sun, 29 Mar 2009 20:17:31 +0530 [thread overview]
Message-ID: <1238338051.2534.6.camel@ht.satnam> (raw)
In-Reply-To: <20090326223406.GB28755@elte.hu>
On Thu, 2009-03-26 at 23:34 +0100, Ingo Molnar wrote:
> * Thomas Gleixner <tglx@linutronix.de> wrote:
>
> > On Thu, 26 Mar 2009, Jaswinder Singh Rajput wrote:
> > > This patch is based on -tip:x86/core:
> > >
> > > From: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
> > > Date: Thu, 26 Mar 2009 18:33:45 +0530
> > > Subject: [PATCH] x86: unification of module.c
> > >
> > > Impact: Unification, cleanup
> > >
> > > Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
> > > ---
> > > arch/x86/kernel/Makefile | 2 +-
> > > arch/x86/kernel/module.c | 261 +++++++++++++++++++++++++++++++++++++++++++
> > > arch/x86/kernel/module_32.c | 152 -------------------------
> > > arch/x86/kernel/module_64.c | 194 --------------------------------
> > > 4 files changed, 262 insertions(+), 347 deletions(-)
> > > create mode 100644 arch/x86/kernel/module.c
> > > delete mode 100644 arch/x86/kernel/module_32.c
> > > delete mode 100644 arch/x86/kernel/module_64.c
> >
> > Sigh. We went through this before.
> >
> > First make module_32 and module_64 the same if necessary in
> > several steps. The last step is to rename one of the files to
> > module.c and remove the other one.
> >
> > This cobble all together approach is hard to review and error
> > prone.
>
> Correct. There are countless examples of properly structured and
> well executed unifications in the arch/x86 tree.
>
> The most recent one has been done by Gustavo F. Padovan - and this
> was one of this first complex contributions to Linux:
>
> c577b09: x86, fixmap: unify fixmap.h
> c78f322: x86, fixmap: prepare fixmap_32.h for unification
> e365bcd: x86, fixmap: prepare fixmap_64.h for unification
> 5f403fa: x86, fixmap: add CONFIG_EFI
> 2ae38da: x86, fixmap: add CONFIG_X86_{LOCAL,IO}_APIC
> fd862dd: x86, fixmap: define reserve_top_address for x86_64
> ab93e3c: x86, fixmap: define FIXADDR_BOOT_* and redefine FIX_ADDR_SIZE
> d09375a: x86, fixmap: rename __FIXADDR_SIZE and __FIXADDR_BOOT_SIZE
>
> Please use this as a template - all-in-one patches for unifications
> are not reviewable, not testable and not acceptable.
>
OK, pull request withdrawn.
Thanks,
--
JSR
next prev parent reply other threads:[~2009-03-29 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 13:08 [PATCH -tip] x86: unification of module.c Jaswinder Singh Rajput
2009-03-26 17:38 ` Thomas Gleixner
2009-03-26 22:34 ` Ingo Molnar
2009-03-29 14:47 ` Jaswinder Singh Rajput [this message]
2009-03-26 22:12 ` Rusty Russell
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=1238338051.2534.6.camel@ht.satnam \
--to=jaswinder@kernel.org \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--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