From owner-cvs-src@FreeBSD.ORG Wed Nov 5 19:09:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB57916A4CE; Wed, 5 Nov 2003 19:09:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A9243FBF; Wed, 5 Nov 2003 19:09:06 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA6395XJ078837; Wed, 5 Nov 2003 19:09:06 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA6395SX078836; Wed, 5 Nov 2003 19:09:05 -0800 (PST) (envelope-from jeff) Message-Id: <200311060309.hA6395SX078836@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 5 Nov 2003 19:09:05 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys proc.h sched.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 06 Nov 2003 03:09:06 -0000 jeff 2003/11/05 19:09:05 PST FreeBSD src repository Modified files: sys/sys proc.h sched.h Log: - Add a pinned count to the thread so that cpu pinning may nest. This is not in scheduler specific data because eventually it will be required by all schedulers. - Implement sched_pin and unpin as an inline for now. If a scheduler needs to do something more complicated than adjusting the pinned count we can move this into a function later in an api compatible way. Revision Changes Path 1.354 +1 -0 src/sys/sys/proc.h 1.8 +14 -2 src/sys/sys/sched.h