[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a8231a22-3610-8e44-7fdf-dfc9d047dfa2@redhat.com>
Date: Thu, 29 Aug 2024 18:36:19 +0200 (CEST)
From: Mikulas Patocka <mpatocka@...hat.com>
To: 陈玉凡 <chenyufan@...o.com>
cc: Alasdair Kergon <agk@...hat.com>, Mike Snitzer <snitzer@...nel.org>,
"dm-devel@...ts.linux.dev" <dm-devel@...ts.linux.dev>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"opensource.kernel" <opensource.kernel@...o.com>
Subject: Re: [PATCH v1] Device-mapper(LVM): Convert to use time_after_eq
macro
On Thu, 29 Aug 2024, 陈玉凡 wrote:
> When "jiffies" is 0x10 (because of wraparound) and
> "container_of(wc->lru.prev, struct wc_entry, lru)->age" is 0x1(I'm not
> sure if it can be such a small value), the result will change from a
> large value to a small value.
>
> Chen
So, the when you subtract the numbers, you get 0xf. There's nothing wrong
with it.
Mikulas
Powered by blists - more mailing lists