lkml.org 
[lkml]   [2019]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] psi: avoid divide-by-zero crash inside virtual machines
On Thu, 14 Feb 2019 15:53:43 -0500 Johannes Weiner <hannes@cmpxchg.org> wrote:

>
> if (now < expires)
>
> vs.
>
> if (time_before64(now, expires))
>
> These macros always have me double check the argument order.

Yeah, me too.

\
 
 \ /
  Last update: 2019-02-14 22:23    [W:0.095 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site