[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170810144053.GE24790@lunn.ch>
Date: Thu, 10 Aug 2017 16:40:53 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Max Uvarov <muvarov@...il.com>
Cc: netdev@...r.kernel.org, linux-omap@...r.kernel.org,
grygorii.strashko@...com
Subject: Re: [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on
wait user access
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@...n.ch>
Andrew
Powered by blists - more mailing lists