[CRIU] timerfd

Andrew Vagin avagin at parallels.com
Sun Dec 22 23:52:04 PST 2013


On Sun, Dec 22, 2013 at 04:58:58PM -0800, Shawn Landden wrote:
> I appears that there is now way to get the clockid (MONOTONIC or
> REALTIME) of a timerfd.
> 
> So this would require a kernel patch.
> 
> Has someone else also come to this conclusion?

Yes, we have. I think fdinfo should be changed for timerfd.

You can look at signalfd for example.

[avagin at localhost ~]$ sudo lsof -p 1 | grep signal
systemd   1 root    5u  a_inode                0,9        0       6085 [signalfd]
[avagin at localhost ~]$ sudo cat /proc/1/fdinfo/5
pos:	0
flags:	02004002
sigmask:	7be3c0fe28014a03


> 
> -Shawn
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list