Re: [PATCH 0/8] x86 boot, pda and gdt cleanups

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: lkml - Kernel Mailing List <linux-kernel@...>, Zachary Amsden <zach@...>, Jeremy Fitzhardinge <jeremy@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Andi Kleen <ak@...>
Date: Tuesday, March 13, 2007 - 10:25 pm

On Tue, 2007-03-13 at 13:48 -0700, Jeremy Fitzhardinge wrote:

Looks good.  Just one thing:


This is called "pissing in the corners".  Don't do it: we don't need to
touch that code and I actually prefer the original anyway (explicit is
*good*).  

The habit of extracting cpu number once then using it is an optimization
which we should be aiming to get rid of (it simply hurts archs with
efficient per-cpu implementations).

Cheers,
Rusty.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] x86 boot, pda and gdt cleanups, Rusty Russell, (Tue Mar 6, 8:39 am)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Jeremy Fitzhardinge, (Tue Mar 13, 4:48 pm)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Rusty Russell, (Wed Mar 14, 7:55 pm)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Jeremy Fitzhardinge, (Wed Mar 14, 9:57 pm)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Rusty Russell, (Tue Mar 13, 10:25 pm)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Jeremy Fitzhardinge, (Wed Mar 14, 12:39 am)
Re: [PATCH 0/8] x86 boot, pda and gdt cleanups, Rusty Russell, (Wed Mar 14, 2:54 am)
[PATCH 2/8] Remove NR_CPUS from asm-generic/percpu.h, Rusty Russell, (Tue Mar 6, 8:54 am)
[PATCH 3/8] Use per-cpu variables for GDT, PDA, Rusty Russell, (Tue Mar 6, 8:55 am)
Re: [PATCH 3/8] Use per-cpu variables for GDT, PDA, Jeremy Fitzhardinge, (Tue Mar 6, 2:14 pm)
[PATCH 4/8] Cleanup setup_pda, Rusty Russell, (Tue Mar 6, 8:57 am)
[PATCH 5/8] Cleanup GDT access, Rusty Russell, (Tue Mar 6, 8:58 am)
Re: [PATCH 5/8] Cleanup GDT access, Jeremy Fitzhardinge, (Tue Mar 6, 2:16 pm)
[PATCH 6/8] Allow per-cpu variables to be page-aligned, Rusty Russell, (Tue Mar 6, 9:00 am)
Re: [PATCH 6/8] Allow per-cpu variables to be page-aligned, Jeremy Fitzhardinge, (Tue Mar 6, 2:17 pm)
[PATCH 7/8] Page-align the GDT, Rusty Russell, (Tue Mar 6, 9:01 am)
[PATCH 8/8] Convert PDA into the percpu section, Rusty Russell, (Tue Mar 6, 9:03 am)
Re: [PATCH 8/8] Convert PDA into the percpu section, Jeremy Fitzhardinge, (Tue Mar 13, 1:15 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Rusty Russell, (Tue Mar 13, 10:27 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Andi Kleen, (Tue Mar 6, 3:34 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Rusty Russell, (Tue Mar 6, 8:33 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Rusty Russell, (Wed Mar 7, 7:55 am)
Re: [PATCH 8/8] Convert PDA into the percpu section, Jeremy Fitzhardinge, (Tue Mar 6, 2:37 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Jeremy Fitzhardinge, (Tue Mar 6, 2:28 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Ingo Molnar, (Tue Mar 6, 9:10 am)
Re: [PATCH 8/8] Convert PDA into the percpu section, Rusty Russell, (Tue Mar 6, 8:12 pm)
Re: [PATCH 8/8] Convert PDA into the percpu section, Jeremy Fitzhardinge, (Tue Mar 6, 8:35 pm)