Re: PCI DMA to small buffers on cache-incoherent arch

From: David S. Miller (davem@redhat.com)
Date: Thu Jun 13 2002 - 23:41:40 EST


   From: Oliver Neukum <oliver@neukum.name>
   Date: Wed, 12 Jun 2002 14:08:26 +0200
   
   That means that all buffers must be allocated seperately.
   Is it worth that ? How about skbuffs ?

skbuffs are fine, they are already minimally aligned to
SMP_CACHE_BYTES and also have the same minimum length.

The only problematic case are as in the eepro100.c driver where it
tries to use part of the skbuff data area for the receive descriptor.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:30 EST