proc(4) changes =============== A new pr_lgrp field was added to lwpsinfo_t in /proc to enable getting the home lgroup for a thread from /proc, so plgrp(1) and any other /proc consumers can get the home lgroup of a thread from the system or a core file. The fields in lwpsinfo_t are documented in proc(4), so we propose the following changes in that man page: typedef struct lwpsinfo { ... processorid_t pr_onpro; /* processor which last ran this lwp */ processorid_t pr_bindpro; /* processor to which lwp is bound */ psetid_t pr_bindpset; /* processor set to which lwp is bound */ + lgrp_id_t pr_lgrp /* lwp home lgroup */ } lwpsinfo_t; DTrace proc provider changes ============================= The sched provider defines the stable "lgrp" variable that is the lgroup of the current CPU. This is mostly interesting when we can compare it with the actual thread home lgroup, so we would like to add a new pr_lgrp field to the lwpsinfo_t structure in the dtrace(1M) proc provider for the home lgroup of the thread. This matches the addition of the pr_lgrp field to the lwpsinfo_t structure in proc(4) explained above. The pr_lgrp field will only be available for consumers with dtrace_kernel privilege since the translator needs to do kernel pointer dereference. This change will require documentation changes to at least the proc provider chapter in the "Solaris Dynamic Tracing Guide".