Re: [Xen-devel] [PATCH for-4.6 5/5] oxenstored: move sd_notify_ready out of main loop

2015-08-06 Thread Dave Scott
Although I’m not familiar with systemd, this also looks fine: Acked-by: David Scott > On 6 Aug 2015, at 14:38, Wei Liu wrote: > > Oxenstored only needs to notify systemd its readiness state once. Move > sd_notify_ready out of main loop. > > Signed-off-by: Wei Liu > --- > Cc: Dave Scott >

[Xen-devel] [PATCH for-4.6 5/5] oxenstored: move sd_notify_ready out of main loop

2015-08-06 Thread Wei Liu
Oxenstored only needs to notify systemd its readiness state once. Move sd_notify_ready out of main loop. Signed-off-by: Wei Liu --- Cc: Dave Scott For 4.6: avoid wasting CPU cycles, easy to reason its correctness. There is a small risk that either I wrote the wrong code or I misunderstand the