Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2013 08:52:54 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Hans Petter Selasky <hps@bitfrost.no>, svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r255067 - head/sys/kern
Message-ID:  <1377874374.1111.328.camel@revolution.hippie.lan>
In-Reply-To: <5220A458.3060202@FreeBSD.org>
References:  <201308301039.r7UAduI1052038@svn.freebsd.org> <5220A027.8070604@FreeBSD.org> <5220A2DD.5040803@bitfrost.no> <5220A458.3060202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2013-08-30 at 16:55 +0300, Andriy Gapon wrote:
> on 30/08/2013 16:49 Hans Petter Selasky said the following:
> > On 08/30/13 15:37, Andriy Gapon wrote:
> >> on 30/08/2013 13:39 Hans Petter Selasky said the following:
> >>> Author: hselasky
> >>> Date: Fri Aug 30 10:39:56 2013
> >>> New Revision: 255067
> >>> URL: http://svnweb.freebsd.org/changeset/base/255067
> >>>
> >>> Log:
> >>>    Simplify pause_sbt() logic. Don't call DELAY() if remainder is less
> >>>    than or equal to zero.
> >>
> >> Discussed with?
> >> Reviewed by?
> >> Tested by?
> >>
> > 
> > Hi,
> > 
> > I've checked MAINTAINERS first.
> > 
> > A patch was sent to the freebsd-current mailing list, See XHCI USB debugging
> > thread.
> 
> I noticed that you committed the patch just a few minutes after making it
> public.  And later noticed that the patch did not result in any improvement.
> 
> > Could probably have been discussed a bit more.
> 
> Indeed.
> 
> > The cold case logic for pause()
> > is mainly used by the USB code and was factored out from usb_pause_mtx() a long
> > while ago by me.
> 
> Oh, I see.
> 
> > Do you see anything technically wrong about my patch?
> 
> I don't feel qualified enough.
> 

What I want to know is why a DELAY() loop needs to function well with
delay values longer than 1 second.  Are we really doing that?

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377874374.1111.328.camel>