summaryrefslogtreecommitdiff
path: root/usr/src/lib/libproc/common/P32ton.c
diff options
context:
space:
mode:
authorakolb <none@none>2006-09-06 11:54:18 -0700
committerakolb <none@none>2006-09-06 11:54:18 -0700
commitc64027834c5ffc60c557c2b12555e0cd4d30320c (patch)
tree795abc626b4f567a60b01b6e1ae7a867f8a3a2fb /usr/src/lib/libproc/common/P32ton.c
parent8a16ae8f6efb5a6c02ab0aec860e229706335bb9 (diff)
downloadillumos-joyent-c64027834c5ffc60c557c2b12555e0cd4d30320c.tar.gz
PSARC 2006/421 MPO Control And Observability Tools
4698370 Want tool for applying advice to affect memory allocation via madvise(3C) 5048416 Want to be able to observe lgroup memory placement via pmap(1) 5048789 Want tool for observing and affecting thread placement on lgroups 6424359 Want Perl interface to liblgrp(3LIB) library 6424363 Want tool for observing lgroup information 6424366 Want walkers for lgroup resources and lineage 6424384 Want ps(1) to be lgroup-aware 6424387 Want prstat(1M) to be lgroup-aware 6455612 DTrace proc provider should have inline for thread home lgroup 6455724 Want thread home lgroup visibility via /proc 6457390 threads should rehome to lgroup with same (or more affinity) than existing home lgroup 6457640 Want to expose lgroup load average scale to user-land
Diffstat (limited to 'usr/src/lib/libproc/common/P32ton.c')
-rw-r--r--usr/src/lib/libproc/common/P32ton.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/lib/libproc/common/P32ton.c b/usr/src/lib/libproc/common/P32ton.c
index c6b4b8fbcc..78219550c8 100644
--- a/usr/src/lib/libproc/common/P32ton.c
+++ b/usr/src/lib/libproc/common/P32ton.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -21,7 +20,7 @@
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -401,6 +400,7 @@ lwpsinfo_32_to_n(const lwpsinfo32_t *src, lwpsinfo_t *dst)
dst->pr_onpro = src->pr_onpro;
dst->pr_bindpro = src->pr_bindpro;
dst->pr_bindpset = src->pr_bindpset;
+ dst->pr_lgrp = src->pr_lgrp;
}
void
@@ -773,6 +773,7 @@ lwpsinfo_n_to_32(const lwpsinfo_t *src, lwpsinfo32_t *dst)
dst->pr_onpro = src->pr_onpro;
dst->pr_bindpro = src->pr_bindpro;
dst->pr_bindpset = src->pr_bindpset;
+ dst->pr_lgrp = src->pr_lgrp;
}
void