From owner-cvs-src@FreeBSD.ORG Sun Mar 30 11:31:14 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69ECA106567F; Sun, 30 Mar 2008 11:31:14 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 64AA88FC2E; Sun, 30 Mar 2008 11:31:14 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2UBVE6G063035; Sun, 30 Mar 2008 11:31:14 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UBVEGQ063034; Sun, 30 Mar 2008 11:31:14 GMT (envelope-from jeff) Message-Id: <200803301131.m2UBVEGQ063034@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 30 Mar 2008 11:31:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys cpuset.h src/sys/kern kern_cpuset.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 11:31:14 -0000 jeff 2008-03-30 11:31:14 UTC FreeBSD src repository Modified files: sys/sys cpuset.h sys/kern kern_cpuset.c Log: - Consistently return EDEADLK when presented with a new set that is incompatible with existing bindings. - Try to copyout the setid in cpuset() before migrating the proc to the setid in case the user has supplied a bad buffer. - Rename cpuset_root() and cpuset_base() to cpuset_ref{root,base} to be more descriptive and free cpuset_root to be used as a different type of symbol. - Make cpuset_root the cpuset_t set of all cpus in the system. This should contain the same bitmask as all_cpus presently. - Add a CPU_CMP() macro to compare two sets. Revision Changes Path 1.7 +27 -20 src/sys/kern/kern_cpuset.c 1.5 +15 -1 src/sys/sys/cpuset.h