Make clone system-call create a new thread on the next available physical core

and skip the physical core with a system process so that
programs using Intel OpenMP bind threads to cores in that manner.
This commit is contained in:
Masamichi Takagi m-takagi@ab.jp.nec.com
2013-07-05 18:55:03 +09:00
parent b59be07e9a
commit 4214441ac3
3 changed files with 56 additions and 14 deletions

View File

@@ -185,5 +185,6 @@ struct syscall_params {
#define SYSCALL_FOOTER return do_syscall(&request, ctx)
extern int do_syscall(struct syscall_request *req, ihk_mc_user_context_t *ctx);
extern int obtain_clone_cpuid();
#endif