From: Andrew Lunn <andrew@lunn.ch>
To: Max Uvarov <muvarov@gmail.com>
Cc: netdev@vger.kernel.org, linux-omap@vger.kernel.org,
grygorii.strashko@ti.com
Subject: Re: [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access
Date: Thu, 10 Aug 2017 16:40:53 +0200 [thread overview]
Message-ID: <20170810144053.GE24790@lunn.ch> (raw)
In-Reply-To: <1502351267-23841-1-git-send-email-muvarov@gmail.com>
On Thu, Aug 10, 2017 at 10:47:46AM +0300, Max Uvarov wrote:
> Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
> due to busy loop in wait(). Add small delay to relax cpu.
Hi Max
Please include a cover note when you have multiple patches in a
series.
With 14 devices, it makes sense to swap to using PHY interrupts if you
can. That should prevent the PHY state machine polling the PHYs every
second.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2017-08-10 14:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 7:47 [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access Max Uvarov
2017-08-10 7:47 ` [PATCHv2 2/2] drivers: net: davinci_mdio: print bus frequency Max Uvarov
2017-08-10 16:18 ` Grygorii Strashko
2017-08-11 21:24 ` David Miller
2017-08-10 14:40 ` Andrew Lunn [this message]
2017-08-10 16:24 ` [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access Grygorii Strashko
2017-08-11 21:24 ` David Miller
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=20170810144053.GE24790@lunn.ch \
--to=andrew@lunn.ch \
--cc=grygorii.strashko@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=muvarov@gmail.com \
--cc=netdev@vger.kernel.org \
/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).