[CRIU] [PATCH 3/4] timerfd: Add support of timerfd files

Pavel Emelyanov xemul at parallels.com
Tue Jun 24 12:04:05 PDT 2014


On 06/24/2014 10:59 PM, Cyrill Gorcunov wrote:
> On Tue, Jun 24, 2014 at 10:38:08PM +0400, Pavel Emelyanov wrote:
>>> +
>>> +	if (timerfd_settime(tmp, tfe->settime_flags, &v, NULL)) {
>>
>> Not cool. Arming the timer at fd restore time may result in timer firing
>> before we jump into restorer code.
> 
> What you propose then? Restore them in PIE code?

Yes. Together with the rest of the timers.



More information about the CRIU mailing list