Print this page
patch remove-as_swapout

*** 127,140 **** struct brand; struct corectl_path; struct corectl_content; /* ! * One structure allocated per active process. It contains all ! * data needed about the process while the process may be swapped ! * out. Other per-process data (user.h) is also inside the proc structure. ! * Lightweight-process data (lwp.h) and the kernel stack may be swapped out. */ typedef struct proc { /* * Fields requiring no explicit locking */ --- 127,138 ---- struct brand; struct corectl_path; struct corectl_content; /* ! * One structure allocated per active process. Per-process data (user.h) is ! * also inside the proc structure. */ typedef struct proc { /* * Fields requiring no explicit locking */
*** 144,154 **** kmutex_t p_crlock; /* lock for p_cred */ struct cred *p_cred; /* process credentials */ /* * Fields protected by pidlock */ - int p_swapcnt; /* number of swapped out lwps */ char p_stat; /* status of process */ char p_wcode; /* current wait code */ ushort_t p_pidflag; /* flags protected only by pidlock */ int p_wdata; /* current wait return value */ pid_t p_ppid; /* process id of parent */ --- 142,151 ----