Thread (7 messages) 7 messages, 4 authors, 2017-08-11

Re: [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-08-10 14:40:56
Also in: linux-omap

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help