From owner-freebsd-current@FreeBSD.ORG Thu Jan 26 20:34:43 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FE8B106564A for ; Thu, 26 Jan 2012 20:34:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id EAA2B8FC13 for ; Thu, 26 Jan 2012 20:34:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by asmtp023.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LYF00JSS77NP770@asmtp023.mac.com> for current@freebsd.org; Thu, 26 Jan 2012 19:23:47 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361,1.0.211,0.0.0000 definitions=2012-01-26_07:2012-01-26, 2012-01-26, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201260213 From: Chuck Swiger In-reply-to: <20120126190817.GA73310@onelab2.iet.unipi.it> Date: Thu, 26 Jan 2012 11:23:46 -0800 Message-id: <9C921CC7-0BCB-4509-9601-379A1BF60738@mac.com> References: <20120126190817.GA73310@onelab2.iet.unipi.it> To: Luigi Rizzo X-Mailer: Apple Mail (2.1084) Cc: current@freebsd.org Subject: Re: timeouts too long bug again... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 20:34:43 -0000 On Jan 26, 2012, at 11:08 AM, Luigi Rizzo wrote: > In sep.2009 i noticed that usleep() select() and friends (including > the in-kernel callouts) would consistently take one tick longer > than they should, and committed a fix to sys/kern/kern_timeout.c > to HEAD and RELENG_8 Sounds like the tvtohz() issue described here: http://www.dragonflybsd.org/presentations/nanosleep/ ...and the prior discussion you had with Peter Wemm: http://www.mavetju.org/mail/view_message.php?list=freebsd-stable&id=3022641 Regards, -- -Chuck