Re: ZERO_PAGE() vs. loadable modules in Redhat 4.4 i386 kernels ...

From: Arjan van de Ven
Date: Wed Jun 27 2007 - 14:40:37 EST


On Wed, 2007-06-27 at 11:12 -0700, Casey Leedom wrote:
> Hello,
>
> I'm working on a driver that does a get_user_pages() for a DMA write. We
> have a timeout on the DMA completion where we mark the pages as COW and return
> to the application so it can potentially generate more data in order to
> increase throughput, etc. The problem is that when we traverse the
> PGT/PUD/PMD/PTE hierarchy to mark the pages, we sometime fault out when the PUD
> covering [0x80000000, 0xc0000000) comes out as zero when that entire region is
> covered by a single large malloc()'ed buffer.

you forgot to attach your source code or provide a URL to it.....


-
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/