add new cpu state CPU_STATUS_RESERVED

This commit is contained in:
Tomoki Shirasawa
2015-02-18 13:46:08 +09:00
parent bb137bc9bb
commit c0edb6fe6f
5 changed files with 21 additions and 16 deletions

View File

@@ -95,6 +95,7 @@ int obtain_clone_cpuid() {
}
goto retry;
}
get_cpu_local_var(cpuid)->status = CPU_STATUS_RESERVED;
ihk_mc_spinlock_unlock_noirq(&cpuid_head_lock);
out:
return cpuid;