Re: [PATCH] Containment measures for slab objects on scatter gatherlists

From: Andrew Morton
Date: Fri Jun 29 2007 - 16:46:56 EST


On Fri, 29 Jun 2007 13:16:57 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> > If those operations involve modifying that slab page's pageframe then what
> > stops concurrent dma'ers from stomping on each other's changes? As in:
> > why aren't we already buggy?
>
> Or DMA operations falling out with CPU operations in the same memory
> area. Not all platforms have hardware consistency and some will blat the
> entire page out of cache.

Is that just a performance problem, or can data be lost here? It depends
on the meaning of "blat": writeback? invalidate? More details, please.


I'm dyin here and nobody will talk to me. If the kernel is already doing
these things, why aren't we already buggy? Is it because we don't actually
modify the pageframes of these dma-to-from-kmalloced pages? But we were
thinking of doing so in the future?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/