mcexec: --mpol-threshold to control MPOL_BIND/MPOL_PREFERRED
This commit is contained in:
@@ -555,6 +555,7 @@ struct process {
|
||||
long maxrss_children;
|
||||
/* Memory policy flags */
|
||||
unsigned long mpol_flags;
|
||||
size_t mpol_threshold;
|
||||
|
||||
// perf_event
|
||||
int perf_status;
|
||||
|
||||
@@ -193,6 +193,7 @@ struct program_load_desc {
|
||||
struct rlimit rlimit[MCK_RLIM_MAX];
|
||||
unsigned long interp_align;
|
||||
unsigned long mpol_flags;
|
||||
unsigned long mpol_threshold;
|
||||
char shell_path[SHELL_PATH_MAX_LEN];
|
||||
__cpu_set_unit cpu_set[PLD_CPU_SET_SIZE];
|
||||
struct program_image_section sections[0];
|
||||
|
||||
Reference in New Issue
Block a user