Re: [PATCH 1/4] ktime: add a roundup function

Thomas Gleixner
2015-11-13T20:14:38Z

On Fri, 13 Nov 2015, Jacob Pan wrote:

> ktime roundup function can be used to keep timer aligned and
> prevent drift for recurring timeouts.

That tells me a use case, but not WHAT the function does and WHY we
need it.

>
> +static inline ktime_t ktime_roundup(ktime_t x, ktime_t y)

Kerneldoc comment of this function would be appreciated.

Thanks,

tglx