uti: Replace dead uti thread with new mcexec thread in proc->tids

Change-Id: Ic6e906dd1bfac1b07f1317732cbe0a5191831cd8
This commit is contained in:
Masamichi Takagi
2018-09-03 18:02:35 +09:00
parent 96aab7e215
commit 04d4145b3e
7 changed files with 68 additions and 16 deletions

View File

@@ -242,6 +242,11 @@ enum mpol_rebind_step {
#define SPAWN_TO_REMOTE 1
#define SPAWNING_TO_REMOTE 1001
#define UTI_STATE_DEAD 0
#define UTI_STATE_PROLOGUE 1
#define UTI_STATE_RUNNING_IN_LINUX 2
#define UTI_STATE_EPILOGUE 3
#include <waitq.h>
#include <futex.h>
@@ -690,10 +695,11 @@ struct thread {
/* Syscall offload wait queue head */
struct waitq scd_wq;
int thread_offloaded;
int uti_state;
int mod_clone;
struct uti_attr *mod_clone_arg;
int parent_cpuid;
int uti_refill_tid;
// for performance counter
unsigned long pmc_alloc_map;