Print this page
6583 remove whole-process swapping
*** 128,141 ****
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
*/
--- 128,139 ----
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
*/
*** 145,155 ****
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 */
--- 143,152 ----