RE: Silent data corruption caused by XPC V2.

From: Luck, Tony <>
Date: 2006-08-09 03:44:24
+	/* ensure that the physically mapped memory is contiguous */
+		PAGE_SIZE - (vdst & ~PAGE_MASK) < len);
I thought that part of the point of this patch was that
by using kmalloc() for the buffer, you actually guaranteed
that the whole thing is contiguous (since kmalloc will give
you an order(N) page for requests greater than a page.

This test is a bit convoluted, but looks it will ping you
whenever a transfer crosses a page boundary, regardless of
whether the pages are contiguous or not.  Certainly the
comment seems tenuously connected to the code.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Aug 09 03:45:06 2006

This archive was generated by hypermail 2.1.8 : 2006-08-09 03:45:19 EST