lkml.org 
[lkml]   [2015]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] ktime: add a roundup function
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


\
 
 \ /
  Last update: 2015-11-13 21:21    [W:0.261 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site