From owner-cvs-all@FreeBSD.ORG Sun Mar 2 11:07:33 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 417621065675; Sun, 2 Mar 2008 11:07:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id CA99D8FC24; Sun, 2 Mar 2008 11:07:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JVm2U-000Ja9-AU; Sun, 02 Mar 2008 13:07:30 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m22B7g6A022995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 13:07:42 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m22B7R8r040601; Sun, 2 Mar 2008 13:07:27 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m22B7R8A040600; Sun, 2 Mar 2008 13:07:27 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 2 Mar 2008 13:07:26 +0200 From: Kostik Belousov To: Jeff Roberson Message-ID: <20080302110726.GI57756@deviant.kiev.zoral.com.ua> References: <200803020739.m227dNLe039427@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6GW/iDYps37kUkwk" Content-Disposition: inline In-Reply-To: <200803020739.m227dNLe039427@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: a0e7373be156534abcc10f92c304d741 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2346 [Feb 29 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Method: none X-SpamTest-Rate: 9 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys Symbol.map X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 11:07:33 -0000 --6GW/iDYps37kUkwk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 02, 2008 at 07:39:22AM +0000, Jeff Roberson wrote: > jeff 2008-03-02 07:39:22 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/conf files=20 > sys/kern init_main.c kern_thread.c syscalls.master=20 > sys/sys _types.h types.h proc.h=20 > lib/libc/sys Symbol.map=20 > Added files: > sys/kern kern_cpuset.c=20 > sys/sys cpuset.h=20 > Log: > Add cpuset, an api for thread to cpu binding and cpu resource grouping > and assignment. > - Add a reference to a struct cpuset in each thread that is inherited = from > the thread that created it. > - Release the reference when the thread is destroyed. > - Add prototypes for syscalls and macros for manipulating cpusets in > sys/cpuset.h > - Add syscalls to create, get, and set new numbered cpusets: > cpuset(), cpuset_{get,set}id() > - Add syscalls for getting and setting affinity masks for cpusets or > individual threads: cpuid_{get,set}affinity() > - Add types for the 'level' and 'which' parameters for the cpuset. Th= is > will permit expansion of the api to cover cpu masks for other objects > identifiable with an id_t integer. For example, IRQs and Jails may = be > coming soon. > - The root set 0 contains all valid cpus. All thread initially belong= to > cpuset 1. This permits migrating all threads off of certain cpus to > reserve them for special applications. > =20 > Sponsored by: Nokia > Discussed with: arch, rwatson, brooks, davidxu, deischen > Reviewed by: antoine > =20 > Revision Changes Path > 1.10 +15 -0 src/lib/libc/sys/Symbol.map > 1.1275 +1 -0 src/sys/conf/files > 1.291 +2 -0 src/sys/kern/init_main.c > 1.1 +907 -0 src/sys/kern/kern_cpuset.c (new) > 1.266 +5 -1 src/sys/kern/kern_thread.c > 1.238 +13 -0 src/sys/kern/syscalls.master > 1.24 +3 -0 src/sys/sys/_types.h > 1.1 +146 -0 src/sys/sys/cpuset.h (new) > 1.504 +2 -1 src/sys/sys/proc.h > 1.98 +4 -0 src/sys/sys/types.h Is the ommission of the 32-bits compat syscalls intended ? --6GW/iDYps37kUkwk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfKim4ACgkQC3+MBN1Mb4iarQCfeq2i+gGmomamooUpPNLNLZsw skAAmwRpBh58eGzjdodPZibacb3RN/MP =Lt9z -----END PGP SIGNATURE----- --6GW/iDYps37kUkwk--