MM: straight mapping
Change-Id: I70871f8c382fb00aa719ed501cc5de436d916d7f
This commit is contained in:
committed by
Masamichi Takagi
parent
100bbe6231
commit
201f5ce500
@ -390,6 +390,7 @@ struct vm_range {
|
||||
struct rb_node vm_rb_node;
|
||||
unsigned long start, end;
|
||||
unsigned long flag;
|
||||
unsigned long straight_start;
|
||||
struct memobj *memobj;
|
||||
off_t objoff;
|
||||
int pgshift; /* page size. 0 means THP */
|
||||
@ -563,6 +564,9 @@ struct process {
|
||||
int clone_count;
|
||||
int thp_disable;
|
||||
|
||||
int straight_map;
|
||||
size_t straight_map_threshold;
|
||||
|
||||
// perf_event
|
||||
int perf_status;
|
||||
#define PP_NONE 0
|
||||
@ -578,6 +582,11 @@ struct process {
|
||||
#endif // PROFILE_ENABLE
|
||||
int nr_processes; /* For partitioned execution */
|
||||
int process_rank; /* Rank in partition */
|
||||
|
||||
void *straight_va;
|
||||
size_t straight_len;
|
||||
unsigned long straight_pa;
|
||||
|
||||
int coredump_barrier_count, coredump_barrier_count2;
|
||||
mcs_rwlock_lock_t coredump_lock; // lock for coredump
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user