lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47D541C2.5070804@gmail.com>
Date:	Mon, 10 Mar 2008 10:12:18 -0400
From:	Gregory Haskins <gregory.haskins.ml@...il.com>
To:	Dmitry Adamushko <dmitry.adamushko@...il.com>
CC:	Gregory Haskins <ghaskins@...ell.com>, Ingo Molnar <mingo@...e.hu>,
	ego@...ibm.com, suresh.b.siddha@...el.com, yi.y.yang@...el.com,
	tglx@...utronix.de, akpm@...ux-foundation.org, rjw@...k.pl,
	oleg@...sign.ru, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] adjust root-domain->online span in response to hotplugevent

Dmitry Adamushko wrote:
> On 08/03/2008, Gregory Haskins <ghaskins@...ell.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ