2011-06-23 18:22:19

by Suresh Siddha

[permalink] [raw]
Subject: [patch v2 0/4] MTRR rendezvous deadlock fix and cleanups using stop_machine()

Here is the v2 of the MTRR stop machine patchset.

First patch is a simple fix targeting 3.0 and the stable kernels.
This fixes the boot deadlock reported in the
https://bugzilla.novell.com/show_bug.cgi?id=672008

Second patch reorganizes the stop_cpus() code.

Third patch introduces stop_machine_from_inactive_cpu() so that we can do
stop machine from the cpu hotplug path, where the calling cpu is not
yet active.

Fourth patch uses the stop_machine() and stop_machine_from_inactive_cpu()
to implement the x86 MTRR rendezvous sequence and thus remove the duplicate
implementation of stop machine using stop_one_cpu_nowait().

changes from v1:
* update comments and use cpu active instead of the cpu online checks.

thanks,
suresh