From: Mikulas Patocka <mpatocka@redhat.com>
To: 陈玉凡 <chenyufan@vivo.com>
Cc: Alasdair Kergon <agk@redhat.com>,
Mike Snitzer <snitzer@kernel.org>,
"dm-devel@lists.linux.dev" <dm-devel@lists.linux.dev>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"opensource.kernel" <opensource.kernel@vivo.com>
Subject: Re: [PATCH v1] Device-mapper(LVM): Convert to use time_after_eq macro
Date: Thu, 29 Aug 2024 18:36:19 +0200 (CEST) [thread overview]
Message-ID: <a8231a22-3610-8e44-7fdf-dfc9d047dfa2@redhat.com> (raw)
In-Reply-To: <e9a9f9f7-6c38-4ca7-8ccf-40275662cd34@vivo.com>
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
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
prev parent reply other threads:[~2024-08-29 16:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 1:54 Chen Yufan
2024-08-22 17:08 ` Mikulas Patocka
2024-08-23 9:18 ` 陈玉凡
2024-08-23 19:01 ` Mikulas Patocka
[not found] ` <de43d61e-05c0-466f-b004-a97f2bf2ec39@vivo.com>
2024-08-26 9:23 ` Mikulas Patocka
[not found] ` <e9a9f9f7-6c38-4ca7-8ccf-40275662cd34@vivo.com>
2024-08-29 16:36 ` Mikulas Patocka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a8231a22-3610-8e44-7fdf-dfc9d047dfa2@redhat.com \
--to=mpatocka@redhat.com \
--cc=agk@redhat.com \
--cc=chenyufan@vivo.com \
--cc=dm-devel@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=opensource.kernel@vivo.com \
--cc=snitzer@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®