public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH]porting lockless mce from x86_64 to i386
@ 2005-04-29 16:42 Yu, Luming
  0 siblings, 0 replies; 13+ messages in thread
From: Yu, Luming @ 2005-04-29 16:42 UTC (permalink / raw)
  To: Andi Kleen, Andrew Morton; +Cc: linux-kernel, Guo, Racing

>
>Another comment: 
>
>If Luming would not move the mce.c file from x86-64 to i386 then
>his patch would be only 1/4 as big. I dont know why he does this
>anyways, it seems completely pointless.
>
Sounds reasonable. Then, mce.c will the first one linked into i386
Makefile. :-)
Racing, what do you think?

Thanks,
Luming

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [PATCH]porting lockless mce from x86_64 to i386
@ 2005-05-02  1:01 Guo, Racing
  2005-05-02 16:10 ` Andi Kleen
  0 siblings, 1 reply; 13+ messages in thread
From: Guo, Racing @ 2005-05-02  1:01 UTC (permalink / raw)
  To: Andi Kleen, Andrew Morton; +Cc: Yu, Luming, linux-kernel

>
>If Luming would not move the mce.c file from x86-64 to i386 then
>his patch would be only 1/4 as big. I dont know why he does this
>anyways, it seems completely pointless.

mce.c mce.h and mce_intel.c are moved from x86_64 to i386. so the
patch is very big. The motivation is to share mce code between
x86_64 and i386 and avoid duplicate code in x86_64 and i386.
I don't know whether I completely understand what you point.
Correct me if I am wrong.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [PATCH]porting lockless mce from x86_64 to i386
@ 2005-05-02 16:15 Pallipadi, Venkatesh
  2005-05-02 17:15 ` Andi Kleen
  2005-05-03 16:16 ` Bill Davidsen
  0 siblings, 2 replies; 13+ messages in thread
From: Pallipadi, Venkatesh @ 2005-05-02 16:15 UTC (permalink / raw)
  To: Guo, Racing, Andi Kleen, Andrew Morton; +Cc: Yu, Luming, linux-kernel

>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org 
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Guo, Racing
>Sent: Sunday, May 01, 2005 6:02 PM
>To: Andi Kleen; Andrew Morton
>Cc: Yu, Luming; linux-kernel@vger.kernel.org
>Subject: RE: [PATCH]porting lockless mce from x86_64 to i386
>
>>
>>If Luming would not move the mce.c file from x86-64 to i386 then
>>his patch would be only 1/4 as big. I dont know why he does this
>>anyways, it seems completely pointless.
>
>mce.c mce.h and mce_intel.c are moved from x86_64 to i386. so the
>patch is very big. The motivation is to share mce code between
>x86_64 and i386 and avoid duplicate code in x86_64 and i386.
>I don't know whether I completely understand what you point.
>Correct me if I am wrong.

I think what Andi meant was that instead of copying code from x86-64 
to i386 and making x86-64 link to this i386 copy, you can leave the 
code in x86-64 and link it from i386 part of the tree. 

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.
Andi/Andrew: What do you suggest here?

Thanks,
Venki

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-05-05 15:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200504261327.30928.luming.yu@intel.com>
2005-04-27 12:38 ` [PATCH]porting lockless mce from x86_64 to i386 Andi Kleen
2005-04-27 18:38   ` Andrew Morton
2005-04-29 15:27     ` Andi Kleen
2005-04-29 16:42 Yu, Luming
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02  1:01 Guo, Racing
2005-05-02 16:10 ` Andi Kleen
2005-05-02 16:15 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
2005-05-03 16:16 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox