Re: [PATCH v1] Device-mapper(LVM): Convert to use time_after_eq macro
From: Mikulas Patocka
Date: Thu Aug 29 2024 - 12:36:38 EST
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