All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andi Kleen <ak@muc.de>
Cc: Andrew Morton <akpm@osdl.org>,
	venkatesh.pallipadi@intel.com, racing.guo@intel.com,
	luming.yu@intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH]porting lockless mce from x86_64 to i386
Date: Thu, 5 May 2005 17:14:15 +0200	[thread overview]
Message-ID: <20050505151415.GA3590@stusta.de> (raw)
In-Reply-To: <20050502191159.GI27150@muc.de>

On Mon, May 02, 2005 at 09:11:59PM +0200, Andi Kleen wrote:
> On Mon, May 02, 2005 at 11:31:25AM -0700, Andrew Morton wrote:
> > Andi Kleen <ak@muc.de> wrote:
> > >
> > >  > 
> > >  > Doing it either way should be OK with this mce code. But I feel, 
> > >  > despite of the patch size, it is better to keep all the shared 
> > >  > code in i386 tree and link it from x86-64. Otherwise, it may become 
> > >  > kind of messy in future, with various links between i386 and x86-64.
> > > 
> > >  i386 already uses code from x86-64 (earlyprintk.c) - it is nothing 
> > >  new.
> > 
> > I must say I don't like the bidirectional sharing either.
> 
> Why exactly? X86-64 is not a "slave" of i386, they are equal peers; 
> free to share from each other, but none better than the other ... ,-) 
>...

When grep'ing whether a patch I send might break something, it's quite 
handy to see what belongs to which architecture.

Perhaps some day someone might want to put some ACPI code under 
arch/ia64 and let i386 and x86_64 use it from there...

What about some kind of arch/i386-x86_64-shared/ that contains the 
shared code?

The fact that x86_64 defines CONFIG_X86 while i386 doesn't define 
CONFIG_X86_64 unambiguously defines an ordering, and if we really need 
this sharing, there's no good reason to make the chaos bigger than it is 
already with unidirectional sharing.

> -Andi

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2005-05-05 15:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 16:15 [PATCH]porting lockless mce from x86_64 to i386 Pallipadi, Venkatesh
2005-05-02 17:15 ` Andi Kleen
2005-05-02 18:31   ` Andrew Morton
2005-05-02 19:11     ` Andi Kleen
2005-05-02 19:36       ` Andrew Morton
2005-05-05 15:14       ` Adrian Bunk [this message]
2005-05-03 16:16 ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02  1:01 Guo, Racing
2005-05-02 16:10 ` Andi Kleen
2005-04-29 16:42 Yu, Luming
     [not found] <200504261327.30928.luming.yu@intel.com>
2005-04-27 12:38 ` Andi Kleen
2005-04-27 18:38   ` Andrew Morton
2005-04-29 15:27     ` 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=20050505151415.GA3590@stusta.de \
    --to=bunk@stusta.de \
    --cc=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luming.yu@intel.com \
    --cc=racing.guo@intel.com \
    --cc=venkatesh.pallipadi@intel.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.