From owner-cvs-src-old@FreeBSD.ORG Fri Jan 8 14:56:03 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 654771065679 for ; Fri, 8 Jan 2010 14:56:03 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 52C8F8FC1C for ; Fri, 8 Jan 2010 14:56:03 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o08Eu3KI074038 for ; Fri, 8 Jan 2010 14:56:03 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o08Eu3UE074037 for cvs-src-old@freebsd.org; Fri, 8 Jan 2010 14:56:03 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <201001081456.o08Eu3UE074037@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Fri, 8 Jan 2010 14:55:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_4bsd.c src/sys/sys proc.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 14:56:03 -0000 attilio 2010-01-08 14:55:11 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c sys/sys proc.h Log: SVN rev 201790 on 2010-01-08 14:55:11Z by attilio - Fix a bug in sched_4bsd where the timestamp for the sleeping operation is not cleaned up on the wakeup but reset. This is harmless mostly because td_slptick (and ki_slptime from userland) should be analyzed only with the assumption that the thread is actually sleeping (thus while the td_slptick is correctly set) but without this invariant the number is nomore consistent. - Move td_slptick from u_int to int in order to follow 'ticks' signedness and wrap up accordingly [0] [0] Submitted by: emaste Sponsored by: Sandvine Incorporated MFC 1 week Revision Changes Path 1.134 +1 -1 src/sys/kern/sched_4bsd.c 1.542 +1 -1 src/sys/sys/proc.h