Re: [rfc 2/2] docs: procfs -- Document timerfd output

From: Cyrill Gorcunov
Date: Mon Mar 31 2014 - 14:43:41 EST


On Mon, Mar 31, 2014 at 10:31:02PM +0400, Andrey Wagin wrote:
> > + Timerfd files
> > + ~~~~~~~~~~~~~
> > + pos: 0
> > + flags: 02
> > + mnt_id: 9
> > + clockid: 0 ticks: 0
>
> I would prefer to print "tick" on a separate line.

Sure, this is not a problem to make it so.

> And we can print the current setting of the timer here. It can be
> useful not only for CRIU but for other users too.
>
> it_value: (5, 149234)
> it_interval: (10, 0)

Yeah, moreover I think this is needed because if the timer is expired
and it's interval timer the gettime method will rearm it which we
defenitely not needed. Will update, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/