On Fri, Sep 11, 2015 at 04:41:57PM +0300, Kirill Tkhai wrote: ... > > + /* Expired? */ > > + if (time_after(now, ctx->oom_start + OOM_TIMEOUT)) > > + continue; > > + > > + timeout = ctx->oom_start + OOM_TIMEOUT - now; > > + BUG_ON(timeout == 0); > > now may be less or more than (oom_start + OOM_TIMEOUT), so why can't > it be equal? Did you mean time_after_eq() above?
Yeah, exactly. I should've used time_after_eq. Thanks. _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
