From: Tejun Heo <tj@kernel.org>
To: Daniel Walker <danielwa@cisco.com>
Cc: Anil Veliyankara Madam <aveliyan@cisco.com>,
xe-kernel@external.cisco.com, Shikha Jain <shikjain@cisco.com>,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] drivers: libata-core: Use usleep_range() instead of msleep() for short sleeps (<20 ms)
Date: Fri, 8 Jan 2016 10:36:18 -0500 [thread overview]
Message-ID: <20160108153618.GO1898@mtj.duckdns.org> (raw)
In-Reply-To: <1452230332-14926-2-git-send-email-danielwa@cisco.com>
On Thu, Jan 07, 2016 at 09:18:52PM -0800, Daniel Walker wrote:
> From: Anil Veliyankara Madam <aveliyan@cisco.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@external.cisco.com
> Signed-off-by: Anil Veliyankara Madam <aveliyan@cisco.com>
> Signed-off-by: Shikha Jain <shikjain@cisco.com>
Applied to libata/for-4.5.
Thanks.
--
tejun
prev parent reply other threads:[~2016-01-08 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 5:18 [PATCH 2/2] drivers: libata-core: Use usleep_range() instead of msleep() for short sleeps (<20 ms) Daniel Walker
2016-01-08 15:36 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160108153618.GO1898@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=aveliyan@cisco.com \
--cc=danielwa@cisco.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shikjain@cisco.com \
--cc=xe-kernel@external.cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).