From owner-cvs-src@FreeBSD.ORG Fri Jan 18 13:00:29 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 A2EE316A419; Fri, 18 Jan 2008 13:00:29 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6279013C442; Fri, 18 Jan 2008 13:00:29 +0000 (UTC) (envelope-from davidxu@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 m0ID0T9T041777; Fri, 18 Jan 2008 13:00:29 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0ID0SMi041767; Fri, 18 Jan 2008 13:00:28 GMT (envelope-from davidxu) Message-Id: <200801181300.m0ID0SMi041767@repoman.freebsd.org> From: David Xu Date: Fri, 18 Jan 2008 13:00:28 +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/kern kern_time.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: Fri, 18 Jan 2008 13:00:29 -0000 davidxu 2008-01-18 13:00:28 UTC FreeBSD src repository Modified files: sys/kern kern_time.c Log: Make sure reading td_runtime in critical section since thread may be preempted and td_runtime will be modified. Revision Changes Path 1.144 +2 -1 src/sys/kern/kern_time.c