From owner-freebsd-hackers@freebsd.org Sat Dec 17 05:22:06 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A885C83856 for ; Sat, 17 Dec 2016 05:22:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 65CABDC; Sat, 17 Dec 2016 05:22:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-230-194.lns20.per1.internode.on.net [121.45.230.194]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id uBH5M0OI059895 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 16 Dec 2016 21:22:03 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: How to use sem_timedwait? To: Ian Lepore , Konstantin Belousov References: <20161214074228.zh6q5zya2gszw4g6@hal9000.meka.no-ip.org> <1481748960.1889.398.camel@freebsd.org> <20161215002906.mllorgvvuovbdtze@hal9000.meka.no-ip.org> <1481775511.1889.450.camel@freebsd.org> <1481776532.1889.461.camel@freebsd.org> <20161215112050.GO94325@kib.kiev.ua> <1481817343.1889.467.camel@freebsd.org> <20161215171534.GV94325@kib.kiev.ua> <1481911613.1972.74.camel@freebsd.org> <20161216184553.GC94325@kib.kiev.ua> <1481931048.1343.2.camel@freebsd.org> Cc: freebsd-hackers@freebsd.org From: Julian Elischer Message-ID: <1b34cafe-c009-f939-fd2c-e31d45be2c9a@freebsd.org> Date: Sat, 17 Dec 2016 13:21:55 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1481931048.1343.2.camel@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2016 05:22:06 -0000 On 17/12/2016 7:30 AM, Ian Lepore wrote: > On Fri, 2016-12-16 at 20:45 +0200, Konstantin Belousov wrote: >> On Fri, Dec 16, 2016 at 11:06:53AM -0700, Ian Lepore wrote: >>> I tried LAPIC, HPET, and i8254 for eventtimer.hardware, there was >>> no >>> change with any of them. I tried turning periodic on, still no >>> change. [...] >>> =================================================================== >>> --- . (revision 310169) >>> +++ . (working copy) >>> >>> Property changes on: . >>> ___________________________________________________________________ >>> Modified: svn:mergeinfo >>> ## -0,0 +0,1 ## >>> Merged /head:r296775 >>> _______________________________________________ kib, are you going to merge that (if you havent already by the time you read this) ? > > Yep, that was the solution. After merging r296775 I now get: > > revolution > ./kevent_evfilt_timer > nsec = 10000009129 for 10000 loops of 1000000 nsec > > Thanks for tracking that down. > > -- Ian > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >