[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <52D4818A.3050905@samsung.com>
Date: Tue, 14 Jan 2014 09:15:06 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Alexey Perevalov <a.perevalov@...sung.com>
Cc: linux-kernel@...r.kernel.org, john.stultz@...aro.org,
Anton Vorontsov <anton@...rybugs.org>, anton@...msg.org,
kyungmin.park@...sung.com, akpm@...ux-foundation.org,
Anton Vorontsov <anton.vorontsov@...aro.org>
Subject: Re: [PATCH v2 1/3] kernel/time: Add new helpers to convert ktime
to/from jiffies
On 01/13/2014 07:43 PM, Alexey Perevalov wrote:
> From: Anton Vorontsov <anton@...rybugs.org>
>
> Two new functions: jiffies_to_ktime() and ktime_to_jiffies(), we'll use
> them for timerfd deferred timers handling.
>
> We fully reuse the logic from timespec implementations, so the functions
> are pretty straightforward.
>
> The only tricky part is in headers: we have to include jiffies.h after
> we defined ktime_t, this is because ktime.h needs some declarations from
> jiffies.h (e.g. TICK_NSEC).
>
> Signed-off-by: Anton Vorontsov <anton.vorontsov@...aro.org>
> Signed-off-by: Alexey Perevalov <a.perevalov@...sung.com>
Tested-by: Chanwoo Choi <cw00.choi@...sung.com>
I tested this patchset about operation of deferrable timer on user-space.
Thanks,
Chanwoo Choi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists