Re: [PATCH 2/6] percpu: Change Kconfig to HAVE_SETUP_PER_CPU_AREA linux-2.6.git

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@...>, Linus Torvalds <torvalds@...>, Thomas Gleixner <tglx@...>, Christoph Lameter <clameter@...>, <linux-kernel@...>, <linux-mm@...>, Andi Kleen <ak@...>, Tony Luck <tony.luck@...>, David Miller <davem@...>, Sam Ravnborg <sam@...>, Rusty Russell <rusty@...>, <linuxppc-dev@...>, <linux-ia64@...>
Date: Wednesday, January 30, 2008 - 5:57 pm

Ingo Molnar wrote:

Sorry, I should have noted this.  The primary reason I put this in, is
that if the HAVE_SETUP_PER_CPU_AREA is not set when it should be, then
the incorrect (generic) setup_per_cpu_areas() is used and weird things
happen later on.  The above line documents that PERCPU has been allocated
by init/main.c version of this function in the startup messages.
(Since it's a static function, there is no "duplicate label" error in
the linker.)

Thanks,
Mike
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/6] percpu: Change Kconfig to HAVE_SETUP_PER_CPU..., Mike Travis, (Wed Jan 30, 5:57 pm)