lkml.org 
[lkml]   [2008]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] adjust root-domain->online span in response to hotplugevent
Dmitry Adamushko wrote:
> On 08/03/2008, Gregory Haskins <ghaskins@novell.com> wrote:
>
> I guess, it's in arch-specific code. e.g. for x86-64,
>
> down:
>
> kernel/cpu.c :: _cpu_down -> take_cpu_down() -> __cpu_disable() [
> arch/x86/kernel/smpboot_64.c ] -> cpu_clear(cpu, cpu_online_map)
>
> up:
>
> kernel/cpu.c :: _cpu_up() -> __cpu_up [ arch/x86/kernel/smpboot_64.c ]
> -> do_boot_cpu() -> start_secondary() [ runs on a to-be-online cpu ]
> -> cpu_set(smp_processor_id(), cpu_online_map)

Thanks Dmitry! Your tip helped me to figure out what the real solution
should be.

Regards,
-Greg


\
 
 \ /
  Last update: 2008-03-10 15:15    [W:0.102 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site