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

From: Thomas Gleixner
Date: Fri Nov 13 2015 - 15:14:41 EST

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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at