cmt.h revision 6890d023cce317bfcb74d7e43a813d060ebd2e47
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * CDDL HEADER START
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * The contents of this file are subject to the terms of the
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * Common Development and Distribution License (the "License").
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * You may not use this file except in compliance with the License.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * See the License for the specific language governing permissions
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * and limitations under the License.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * When distributing Covered Code, include this CDDL HEADER in each
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * If applicable, add the following below this CDDL HEADER, with the
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * fields enclosed by brackets "[]" replaced with your own identifying
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * information: Portions Copyright [yyyy] [name of copyright owner]
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * CDDL HEADER END
6890d023cce317bfcb74d7e43a813d060ebd2e47Eric Saxe * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * Use is subject to license terms.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * CMT PG class
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxeextern "C" {
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * CMT pg structure
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxetypedef struct pg_cmt {
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe struct group *cmt_siblings; /* CMT PGs to balance with */
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe struct group *cmt_children; /* Active children CMT PGs */
6890d023cce317bfcb74d7e43a813d060ebd2e47Eric Saxe struct bitset cmt_cpus_actv_set; /* bitset of active CPUs */
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * Change the number of running threads on the pg
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe#endif /* !_KERNEL && !_KMEMUSER */
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe#endif /* _CMT_H */