partitioned execution: pass process rank to LWK

Cherry-pick of d2d134d5e6a4b16a34d55d31b14614a2a91ecf47

Conflicts:
	kernel/include/process.h
This commit is contained in:
Balazs Gerofi
2017-08-23 10:16:22 +09:00
committed by Masamichi Takagi
parent 4439b04d9f
commit a697f5e98d
7 changed files with 20 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ struct program_image_section {
struct get_cpu_set_arg {
int nr_processes;
int *process_rank;
void *cpu_set;
size_t cpu_set_size; // Size in bytes
int *target_core;
@@ -141,6 +142,7 @@ struct program_load_desc {
long stack_premap;
unsigned long mpol_bind_mask;
int nr_processes;
int process_rank;
char shell_path[SHELL_PATH_MAX_LEN];
__cpu_set_unit cpu_set[PLD_CPU_SET_SIZE];
int profile;