The read() of timerfd files allows to fetch the number of timer ticks
while there is no way to set it back from userspace.
To restore the timer's state as it was at checkpoint moment we need
a path to bring @ticks back. Initially I thought about writing ticks
back via write() interface but it seem
Updated variant, thanks a lot for feedback!
---
From: Cyrill Gorcunov
Subject: timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks,
v3
The read() of timerfd files allows to fetch the number of timer ticks
while there is no way to set it back from userspace.
To restore the tim
On Wed, Jul 02, 2014 at 09:01:02PM +0200, Arnd Bergmann wrote:
> > >
> > > 64-bit get_user is currently unsupported on ARM, although it appears work
> > > is
> > > ongoing [1].
> > >
> > > 1. https://lkml.org/lkml/2014/6/17/260
> >
> > Thanks for info, Christopher! What arm camp is using then,
On Wednesday 02 July 2014 21:04:16 Cyrill Gorcunov wrote:
> On Wed, Jul 02, 2014 at 12:49:51PM -0400, Christopher Covington wrote:
> > >
> > > +#ifdef CONFIG_CHECKPOINT_RESTORE
> > > +static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned
> > > long arg)
> > > +{
> > > + struc
On Wed, Jul 02, 2014 at 12:49:51PM -0400, Christopher Covington wrote:
> >
> > +#ifdef CONFIG_CHECKPOINT_RESTORE
> > +static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned
> > long arg)
> > +{
> > + struct timerfd_ctx *ctx = file->private_data;
> > + int ret = 0;
> > +
> >
Hi Cyrill,
On 06/24/2014 06:03 PM, Cyrill Gorcunov wrote:
> The read() of timerfd files allows to fetch the number of timer ticks
> while there is no way to set it back from userspace.
>
> To restore the timer's state as it was at checkpoint moment we need
> a path to bring @ticks back. Initially
The read() of timerfd files allows to fetch the number of timer ticks
while there is no way to set it back from userspace.
To restore the timer's state as it was at checkpoint moment we need
a path to bring @ticks back. Initially I thought about writing ticks
back via write() interface but it seem
The read() of timerfd files allows to fetch the number of timer ticks
while there is no way to set it back from userspace.
To restore the timer's state as it was at checkpoint moment we need
a path to bring @ticks back. Initially I thought about writing ticks
back via write() interface but it seem
8 matches
Mail list logo