diff options
author | aguzovsk <none@none> | 2007-06-08 18:58:50 -0700 |
---|---|---|
committer | aguzovsk <none@none> | 2007-06-08 18:58:50 -0700 |
commit | 2cb27123907a098a777e39eebc349d73e99a518f (patch) | |
tree | c95bccd47a25fb4e5c193a71cfa32f4747f03032 /usr/src/uts/common/sys/proc.h | |
parent | 01e689ccb14727455003b77ee332005223497875 (diff) | |
download | illumos-joyent-2cb27123907a098a777e39eebc349d73e99a518f.tar.gz |
6544121 Implement text replication
Diffstat (limited to 'usr/src/uts/common/sys/proc.h')
-rw-r--r-- | usr/src/uts/common/sys/proc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/proc.h b/usr/src/uts/common/sys/proc.h index a6320da055..93ceeaf604 100644 --- a/usr/src/uts/common/sys/proc.h +++ b/usr/src/uts/common/sys/proc.h @@ -216,8 +216,11 @@ typedef struct proc { uint_t p_tidhash_sz; /* number of p_tidhash[] entries */ uint64_t p_lgrpset; /* unprotected hint of set of lgrps */ /* on which process has threads */ - uintptr_t p_lgrpres1; /* reserved for lgrp migration */ - uintptr_t p_lgrpres2; /* reserved for lgrp migration */ + volatile lgrp_id_t p_t1_lgrpid; /* main's thread lgroup id */ + volatile lgrp_id_t p_tr_lgrpid; /* text replica's lgroup id */ +#if defined(_LP64) + uintptr_t p_lgrpres2; /* reserved for lgrp migration */ +#endif /* * /proc (process filesystem) debugger interface stuff. */ |