[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080111172216.GA3927@electric-eye.fr.zoreil.com>
Date: Fri, 11 Jan 2008 18:22:16 +0100
From: Francois Romieu <romieu@...zoreil.com>
To: linux@...izon.com
Cc: davem@...emloft.net, akpm@...ux-foundation.org, jeff@...zik.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 0/4] Pull request for 'ipg-fixes' branch
linux@...izon.com <linux@...izon.com> :
[...]
> I notice that the vendor-supplied driver doesn't have these bugs.
The M in POMS stands for "my".
[...]
> Would you be interested in some cleanup patches ?
Yes.
> In particular, I think I can get rid of tx->lock entirely, or at least
> take it off the fast path. All it's protecting is the write to
> sp->tx_current, and a few judicious memory barriers can deal with that.
I have done a kind of memory barrier trick for the r8169 in the past but
it is not clear that I would do it again. Today I would argue more strongly
in direction of similar locking amongst different drivers. The tg3 driver
is a good model imho.
Anyway you have been here for some time so I see no reason to kill any
different/new locking scheme you could come with.
Off until sunday.
--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists