Re: Fw: potential /dev/urandom scalability improvement
From: David Mosberger
Date: Fri Mar 26 2004 - 16:13:50 EST
>>>>> On Fri, 26 Mar 2004 12:33:03 -0800, Andrew Morton <akpm@xxxxxxxx> said:
Andrew> If someone does, say,
Andrew> prefetch_range(some_pointer, sizeof(*some_pointer));
Andrew> then it is possible that prefetch_range() could
Andrew> a) execute a prefetch at addresses which are not
Andrew> PREFETCH_STRIDE-aligned and, as a consequence,
Andrew> b) prefetch data from the next page, outside the range of
Andrew> the user's (addr,len).
This is getting silly. Cache-lines _never_ cross page-boundaries.
--david
-
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/