aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorBharat Bhushan <[email protected]>2012-04-18 06:01:19 +0000
committerAlexander Graf <[email protected]>2012-05-06 16:19:07 +0200
commit6e35994d1f6831af1e5577e28c363c9137d7d597 (patch)
tree4c230223e9f76865a2bf01e4f4893b30fe2482b7 /net/lapb/lapb_out.c
parentcc902ad4f2b7cd3dd2cc268c63f6fb99fb1abf0f (diff)
KVM: PPC: Use clockevent multiplier and shifter for decrementer
Time for which the hrtimer is started for decrementer emulation is calculated using tb_ticks_per_usec. While hrtimer uses the clockevent for DEC reprogramming (if needed) and which calculate timebase ticks using the multiplier and shifter mechanism implemented within clockevent layer. It was observed that this conversion (timebase->time->timebase) are not correct because the mechanism are not consistent. In our setup it adds 2% jitter. With this patch clockevent multiplier and shifter mechanism are used when starting hrtimer for decrementer emulation. Now the jitter is < 0.5%. Signed-off-by: Bharat Bhushan <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions