From owner-freebsd-hackers@freebsd.org Fri Mar 1 21:11:43 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D01031500D87 for ; Fri, 1 Mar 2019 21:11:43 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C6F491969 for ; Fri, 1 Mar 2019 21:11:42 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1551474696; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=rh4PpW+UXVVLOc6Odx6lvB6NvvobLCh2CZJ5ekkDNGt2e4KgWCJgmtKt6yWyccSqmv1hn25Ht7vih CNp/h+DmQlrvp3wsnECWKeAJr5QMEUV2YamwMczkRZ42og8iJ3WOzLCV3Ow43HKNrKNoAu4rRflGhW 3hhuxZ2EG6WnM99HQ3wnJUEW9LSVU3oPhNXG7OzkhHgTD9oQVDW2yHth4FxQcR6kBnSZYwZlfn3/K+ udquiKVk9TNMXH6IZ7oe6qJ5kkrfH0JoZj7F2zAbTezfIVX/U7I6gcOvs7j9y8u188IsB06zZyc96X eliDmNLP2SWzk9Ct8mZXOz7ReXCqVdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=sPPrcz/nemabeI3Q0MJBK7jjUbIbxct/Syj4Svde9hw=; b=nptQITE5InWW1GMwq5o/pSDR3IXzNsjeWxiqvqSQGPmKwmh1+GJwXdi7ZJ1sx/VEaGMIDJnRvqRLw 0BAOVrQp4JmiY2Xo8+RPR2kQ4lIS+Fr6LpSGd2xHf3i7sUplWgaUs6fGsva9YxspfwOjlUKCc75AvM O9I599tMv+uBY6yzcDMydRwU6LWvREDNk+tmCdPskU9JjlHJmn2jXyyEopcNZukxKmfVn5ffXyyL7A 6lUpOuiJjjmtC0h7BYTndbqEiYEsDvK6R9RheEktYMzJerKMU75u6haLVVgJnZXMkQW+/+zl5hFvnk porLC1eZXh/jhMedHpzN8Wo35TuSmwA== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=sPPrcz/nemabeI3Q0MJBK7jjUbIbxct/Syj4Svde9hw=; b=o2TpAOVZVWwZWhaGMkvo2ZJhiWZQa22fe3UUCgQKv2tRUHkn3r9KHPWdtYWDjNXI8O/Y33cfYqn59 Xl5PyvLcd94saQDLz6hkdkZtoXqJd7GerxoJDbgP51BtM/34hJrvUFOK9wfiLVPkA5B9f930PPRx3O Nv1Tih4O1T/6Wwot/Z7TUy/lBEKGQhlc6C41OkHo4E2K8oR/UkxVQr7atql6t3A3h4XDyJGrr1fUbd SL9pW30/g2sRyfZBDSP7RSEdlz54RE/xdxdt4MqUA4TyBhaQDDuGxr6miqsIaT0YuqI5MUkjj41JYN 1M1WUnsVRPWH2Kt6KninkgzMT/nyQcw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 975cf0de-3c66-11e9-9bb1-1f29e4676f89 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 975cf0de-3c66-11e9-9bb1-1f29e4676f89; Fri, 01 Mar 2019 21:11:35 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x21LBXUS011773; Fri, 1 Mar 2019 14:11:33 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <210dfd0f50ee6b1149c914ee503502654eb5f328.camel@freebsd.org> Subject: Re: powerpc64 head -r344018 stuck sleeping problems: th->th_scale * tc_delta(th) overflows unsigned 64 bits sometimes [patched failed] From: Ian Lepore To: Poul-Henning Kamp , Mark Millard , Mark Millard via freebsd-hackers Cc: Konstantin Belousov , bde@freebsd.org, FreeBSD PowerPC ML Date: Fri, 01 Mar 2019 14:11:33 -0700 In-Reply-To: <6669.1551473821@critter.freebsd.dk> References: <20190228145542.GT2420@kib.kiev.ua> <20190228150811.GU2420@kib.kiev.ua> <962D78C3-65BE-40C1-BB50-A0088223C17B@yahoo.com> <28C2BB0A-3DAA-4D18-A317-49A8DD52778F@yahoo.com> <20190301112717.GW2420@kib.kiev.ua> <679402FF-907C-43AF-B18C-8C9CC857D7A6@yahoo.com> <6669.1551473821@critter.freebsd.dk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1C6F491969 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 21:11:44 -0000 On Fri, 2019-03-01 at 20:57 +0000, Poul-Henning Kamp wrote: > -------- > In message <679402FF-907C-43AF-B18C-8C9CC857D7A6@yahoo.com>, Mark > Millard via freebsd-hackers writes: > > > > I must admit that 2 seconds of interval where the timehands where > > > not updated is too much. > > I have no idea how you got in that situation, but it is very far > from how timecounters were designed to work. > I wonder if it's fallout from reducing the number of timehands to 2, which always struck me as a really bad idea. I know of at least one arm configuration which fails because of it (it takes a combo of a single- core system, and a pps capture driver that uses hardware latching of the timer and the polling method for reading the latched value; given all that, at least 4 sets of timehands are needed to avoid losing PPS events due to generation changes). -- Ian