uti: util_indicate_clone: check --enable-uti mcexec option

Change-Id: Ic7474d01c18acd1edbc07844d7a7b010b2175f71
This commit is contained in:
Masamichi Takagi
2021-02-22 11:21:36 +09:00
parent 90895cfb1f
commit 19cb302d5f
7 changed files with 12 additions and 0 deletions

View File

@ -164,6 +164,7 @@ struct program_load_desc {
(sizeof(unsigned long) * 8)];
int thp_disable;
int enable_uti;
int uti_thread_rank; /* N-th clone() spawns a thread on Linux CPU */
int uti_use_last_cpu; /* Work-around not to share CPU with OpenMP thread */
int straight_map;

View File

@ -2816,6 +2816,7 @@ int main(int argc, char **argv)
desc->mpol_mode, desc->mpol_nodemask[0]);
}
desc->enable_uti = enable_uti;
desc->uti_thread_rank = uti_thread_rank;
desc->uti_use_last_cpu = uti_use_last_cpu;
desc->thp_disable = get_thp_disable();