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
| ||
|
Date: Tue, 26 Jul 2011 16:59:48 +0800 From: Yong Zhang <yong.zhang0@...il.com> To: Thomas Gleixner <tglx@...utronix.de> Cc: LKML <linux-kernel@...r.kernel.org>, linux-rt-users <linux-rt-users@...r.kernel.org>, Peter Zijlstra <a.p.zijlstra@...llo.nl>, Ingo Molnar <mingo@...e.hu> Subject: migrate_disable() race with cpu hotplug? When reading the code, I'm afraid there is a race between migrate_disable() and cpu hotplug. A scenario will like below: CPU0 CPU1 _cpu_down(); cpu_unplug_begin(); wait_for_completion() sync_unplug_thread(); complete(); race_window? /* * migrate_disable() will * not take effect since * hotplug is in progress */ __stop_machine(); I think it could happen but maybe I'm missing something. Thanks, Yong -- Only stand for myself -- 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