cmt.h revision d129bde2b648c46e02c149c4fb0729cafbb39fab
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
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe * Use is subject to license terms.
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe#pragma ident "%Z%%M% %I% %E% SMI"
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 */
fb2f18f820d90b001aea4fb27dd654bc1263c440esaxe bitset_t 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 */