Re: [PATCH v2 1/3] kernel/time: Add new helpers to convert ktime to/from jiffies

2014-01-13 Thread Chanwoo Choi
On 01/13/2014 07:43 PM, Alexey Perevalov wrote: > From: Anton Vorontsov > > 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

[PATCH v2 1/3] kernel/time: Add new helpers to convert ktime to/from jiffies

2014-01-13 Thread Alexey Perevalov
From: Anton Vorontsov 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

[PATCH v2 1/3] kernel/time: Add new helpers to convert ktime to/from jiffies

2014-01-13 Thread Alexey Perevalov
From: Anton Vorontsov an...@scarybugs.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:

Re: [PATCH v2 1/3] kernel/time: Add new helpers to convert ktime to/from jiffies

2014-01-13 Thread Chanwoo Choi
On 01/13/2014 07:43 PM, Alexey Perevalov wrote: From: Anton Vorontsov an...@scarybugs.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