[RFC v7 17/23] clockevents: use ->min_delta_ticks_adjusted to program minimum delta

2016-09-16 Thread Nicolai Stange
The use of a clockevent device's ->min_delta_ns in the event programming path hinders upcoming changes to the clockevent core making it NTP correction aware: both, ->mult and ->min_delta_ns would need to get updated as well as consumed atomically and we'd rather like to avoid any locking here. We

[RFC v7 17/23] clockevents: use ->min_delta_ticks_adjusted to program minimum delta

2016-09-16 Thread Nicolai Stange
The use of a clockevent device's ->min_delta_ns in the event programming path hinders upcoming changes to the clockevent core making it NTP correction aware: both, ->mult and ->min_delta_ns would need to get updated as well as consumed atomically and we'd rather like to avoid any locking here. We