Re: Fw: potential /dev/urandom scalability improvement
From: Andrew Morton
Date: Fri Mar 26 2004 - 16:21:43 EST
Arjan van de Ven <arjanv@xxxxxxxxxx> wrote:
> > a) execute a prefetch at addresses which are not PREFETCH_STRIDE-aligned
> > and, as a consequence,
> > b) prefetch data from the next page, outside the range of the user's
> > (addr,len).
> well if you assume that cachelines (and prefetch stride) are proper
> divisors of PAGE_SIZE is that still true ?
Probably not ;)
If someone does
on 4k pagesize, what should we do?
Issuing a single
In that case I'm arranging for it to perform
prefetch (4096 - 32)
in that case, which seems neater.
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/