Date: Fri, 8 Jan 2010 14:55:11 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sched_4bsd.c src/sys/sys proc.h Message-ID: <201001081456.o08Eu3UE074037@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001081456.o08Eu3UE074037>