[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG] slab debug vs. L1 alignement
On Sat, 16 Aug 2003, Benjamin Herrenschmidt wrote:

> THe low level driver can't do the bounce buffer thing, it has to be
> done at higher layers.
Agreed. A high-level driver must be able to handle this anyway because of
other constraints. The point is that this costs cpu cycles and bouncing
should be avoided if possible.

> > If an architecture has restrictions, they must, of course, be taken into
> > account. However, this should not punish architectures that don't have the
> > sizes. This would mean adding two more masks for each device (like the
> > current DMA address mask for a device).
> That won't help for buffers coming from higher layers that don't know
> the device they'll end up to
Agreed. This just enables the high-level driver to avoid bouncing. For
instance, in a P4 system it is usually not necessary to require 128 byte
alignment for DMA.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.145 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site