From owner-cvs-all@FreeBSD.ORG Fri Jul 6 13:20:44 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA32E16A41F; Fri, 6 Jul 2007 13:20:44 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CBA0F13C487; Fri, 6 Jul 2007 13:20:44 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l66DKi0s002217; Fri, 6 Jul 2007 13:20:44 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l66DKi1B002216; Fri, 6 Jul 2007 13:20:44 GMT (envelope-from attilio) Message-Id: <200707061320.l66DKi1B002216@repoman.freebsd.org> From: Attilio Rao Date: Fri, 6 Jul 2007 13:20:44 +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/conf options src/sys/kern kern_sx.c src/sys/sys sx.h 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: Fri, 06 Jul 2007 13:20:45 -0000 attilio 2007-07-06 13:20:44 UTC FreeBSD src repository Modified files: sys/conf options sys/kern kern_sx.c sys/sys sx.h Log: Fix some problems with lock_profiling in sx locks: - Adjust lock_profiling stubs semantic in the hard functions in order to be more accurate and trustable - Disable shared paths for lock_profiling. Actually, lock_profiling has a subtle race which makes results caming from shared paths not completely trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for re-enabling this paths, but is currently intended for developing use only. - Use homogeneous names for automatic variables in hard functions regarding lock_profiling - Style fixes - Add a CTASSERT for some flags building Discussed with: kmacy, kris Approved by: jeff (mentor) Approved by: re Revision Changes Path 1.600 +1 -0 src/sys/conf/options 1.54 +32 -22 src/sys/kern/kern_sx.c 1.37 +3 -1 src/sys/sys/sx.h