From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 3 01:14:41 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49A5816A44D for ; Sun, 3 Jul 2005 01:11:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C826C43D1D for ; Sun, 3 Jul 2005 01:11:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j631BLjT020601 for ; Sun, 3 Jul 2005 01:11:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j631BLOI020600; Sun, 3 Jul 2005 01:11:21 GMT (envelope-from gnats) Date: Sun, 3 Jul 2005 01:11:21 GMT Message-Id: <200507030111.j631BLOI020600@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Uwe Doering Cc: Subject: Re: kern/79339: [patch] Kernel time code sync with improvements from DragonFly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Uwe Doering List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 01:14:41 -0000 The following reply was made to PR kern/79339; it has been noted by GNATS. From: Uwe Doering To: Joshua Coombs Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/79339: [patch] Kernel time code sync with improvements from DragonFly Date: Thu, 31 Mar 2005 08:44:55 +0200 Joshua Coombs wrote: > The following reply was made to PR kern/79339; it has been noted by GNATS. > > From: "Joshua Coombs" > To: , > "Joshua Coombs" > Cc: > Subject: Re: kern/79339: [patch] Kernel time code sync with improvements from DragonFly > Date: Wed, 30 Mar 2005 09:33:59 -0500 > > Testing with wakeup_latency.c on a 5.3-Rel box shows the same symptom set. > I've not yet tested the proposed fix on 5-x. I will try dupilcating this > issue on 6-current as well to nail down the problem scope. Please also look at what's actually in DragonFly's CVS repository. Your PR is based on the original patch, while the code in DragonFly is more sophisticated. Namely, tvtohz() was split into two functions, tvtohz_low() and tvtohz_high(), which replace the original function depending on the context tvtohz() appears in. From this I conclude that the original patch is insufficient (likely to break parts of the kernel), and that integrating this improvement into FreeBSD might not be as easy and straightforward as it appears to be at first glance. On the other hand, with some effort it ought to be doable. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"