mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
f125be1469
This patch implements a linear feedback shift register (LFSR) for pseudo-random number generation for IBS. For IBS measurements it would be good to minimize memory traffic in the interrupt handler since every access pollutes the data caches. Computing a maximal period LFSR just needs shifts and ORs. The LFSR method is good enough to randomize the ops at low overhead. 16 pseudo-random bits are enough for the implementation and it doesn't matter that the pattern repeats with a fairly short cycle. It only needs to break up (hard) periodic sampling behavior. The logic was designed by Paul Drongowski. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Robert Richter <robert.richter@amd.com> |
||
---|---|---|
.. | ||
backtrace.c | ||
init.c | ||
Makefile | ||
nmi_int.c | ||
nmi_timer_int.c | ||
op_counter.h | ||
op_model_amd.c | ||
op_model_p4.c | ||
op_model_ppro.c | ||
op_x86_model.h |