netdev
[Top] [All Lists]

Re: [patch 3/9] use mmiowb in tg3_poll

To: akpm@xxxxxxxx
Subject: Re: [patch 3/9] use mmiowb in tg3_poll
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 16:43:38 -0700
Cc: jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, akpm@xxxxxxxx, akepner@xxxxxxx
In-reply-to: <200410280721.i9S7Le907988@mail.osdl.org>
References: <200410280721.i9S7Le907988@mail.osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 28 Oct 2004 00:19:41 -0700
akpm@xxxxxxxx wrote:

> From: <akepner@xxxxxxx>
> 
> Returning from tg3_poll() without flushing the PIO write which reenables
> interrupts can result in lower cpu utilization and higher throughput.  So
> use a memory barrier, mmiowb(), instead of flushing the write with a PIO
> read.
> 
> Signed-off-by: Arthur Kepner <akepner@xxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>

Also applied, thanks.

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