[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45F192ED.6060704@garzik.org>
Date: Fri, 09 Mar 2007 12:01:33 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Don Fry <pcnet32@...izon.net>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] pcnet32: only allocate init_block dma consistent
Don Fry wrote:
> The patch below moves the init_block out of the private struct and
> only allocates init block with pci_alloc_consistent.
>
> This has two effects:
>
> 1. Performance increase for non cache coherent machines, because the
> CPU only data in the private struct are now cached
>
> 2. locks are working now for platforms, which need to have locks
> in cached memory
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Acked-by: Don Fry <pcnet32@...izon.net>
> ---
> drivers/net/pcnet32.c | 77 ++++++++++++++++++++++---------------------------
> 1 files changed, 34 insertions(+), 43 deletions(-)
applied 1-2, with included trailing whitespace noise
-
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