netdev
[Top] [All Lists]

Re: [PATCH] tg3 locking update (with NAPI overtones)

To: jgarzik@xxxxxxxxx
Subject: Re: [PATCH] tg3 locking update (with NAPI overtones)
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 26 Nov 2002 15:51:44 -0800 (PST)
Cc: netdev@xxxxxxxxxxx, kuznet@xxxxxxxxxxxxx
In-reply-to: <3DE406AE.2000908@xxxxxxxxx>
References: <3DE406AE.2000908@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Looks good to me on first glance, testing will confirm
further :-)

Probably, to kill the long delays with locks held, we just
need to add a PHY config semaphore.  Interrupts that want to
try and program the PHY just do a down_trylock() on that semaphore
and defer their work if it cannot be acquired.


<Prev in Thread] Current Thread [Next in Thread>