RE: Add prefetch switch stack hook in scheduler function

From: Chen, Kenneth W
Date: Fri Jul 29 2005 - 03:15:06 EST

Keith Owens wrote on Friday, July 29, 2005 12:38 AM
> BTW, for ia64 you may as well prefetch pt_regs, that is also quite
> large.

This has to be carefully done, because you really don't want to overwhelm
number of outstanding L2 cache misses. It only has a limited amount of
queue and once that is filled, cpu get into L2 recirculate state. And that
is going to be very painful because it translate into cpu stall cycles.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at