[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160108153618.GO1898@mtj.duckdns.org>
Date: Fri, 8 Jan 2016 10:36:18 -0500
From: Tejun Heo <tj@...nel.org>
To: Daniel Walker <danielwa@...co.com>
Cc: Anil Veliyankara Madam <aveliyan@...co.com>,
xe-kernel@...ernal.cisco.com, Shikha Jain <shikjain@...co.com>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] drivers: libata-core: Use usleep_range() instead of
msleep() for short sleeps (<20 ms)
On Thu, Jan 07, 2016 at 09:18:52PM -0800, Daniel Walker wrote:
> From: Anil Veliyankara Madam <aveliyan@...co.com>
>
> Since msleep() may sleep longer than intended time for values less
> than 20ms, this patch allows the use of usleep_range for waits less
> that 20ms. usleep_range is a finer precision implementation of
> msleep and is designed to be a drop-in replacement for udelay
> where a precise sleep/busy-wait is unnecessary.
>
> More details can be found at http://lkml.org/lkml/2007/8/3/250
> and in Documentation/timers/timers-howto.txt.
>
> This change has been done to improve the performace in PIO6 mode
> which is used by viking flash.
>
> Cc: xe-kernel@...ernal.cisco.com
> Signed-off-by: Anil Veliyankara Madam <aveliyan@...co.com>
> Signed-off-by: Shikha Jain <shikjain@...co.com>
Applied to libata/for-4.5.
Thanks.
--
tejun
Powered by blists - more mailing lists