Re: [PATCH 18/25] hrtimer: Enable soft and hard hrtimer

From: Peter Zijlstra
Date: Wed Sep 27 2017 - 12:47:57 EST


On Wed, Sep 27, 2017 at 05:54:02PM +0200, Thomas Gleixner wrote:

> > > So why expose these extra bases at all, why not stick another flag in
> > > MODE? These extra bases is a pure implementation detail imo; you could
> > > equally implement the functionality without (albeit at extra cost).
>
> Right and that cost too high.

Yes, no question about that.

> > It was Thomas' request not to use a flag for this.
>
> We can make that a flag as well. There is no hard requirement for making it
> a CLOCK. Peter is right that it's a pure internal implementation detail and
> we can hide it from the outside world.

Yeah, that was my point.