From: zhenwei pi <pizhenwei@bytedance.com>
To: Joe Jin <joe.jin@oracle.com>, Karel Zak <kzak@redhat.com>,
Sami Kerola <kerolasa@iki.fi>
Cc: util-linux@vger.kernel.org
Subject: Re: Re: [PATCH V2 2/4] irqtop: add max iteration support
Date: Tue, 4 Mar 2025 11:49:01 +0800 [thread overview]
Message-ID: <935663c9-8193-45f9-90cd-eab974884bb2@bytedance.com> (raw)
In-Reply-To: <5c7df987-2c12-4716-ad7a-f553e6c01a1f@oracle.com>
>>
>> If ctl->iter is initialized as int64_max, then we have codes like:
>>
>> if (--ctl->iter == 0) {
>> ctl->request_exit = 1;
>> }
>
> Yes they are exactly same.
> As Karel has queued for CI test, maybe keep current code?
>
> Thanks,
> Joe
Fine.
next prev parent reply other threads:[~2025-03-04 3:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-28 16:13 [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements Joe Jin
2025-02-28 16:13 ` [PATCH V2 1/4] irqtop: add batch mode support Joe Jin
2025-02-28 16:13 ` [PATCH V2 2/4] irqtop: add max iteration support Joe Jin
2025-03-03 9:39 ` zhenwei pi
2025-03-04 1:39 ` Joe Jin
2025-03-04 3:49 ` zhenwei pi [this message]
2025-02-28 16:13 ` [PATCH V2 3/4] irqtop: support json output format Joe Jin
2025-02-28 16:13 ` [PATCH V2 4/4] lsirq: add support for reading data from given file Joe Jin
2025-03-03 10:16 ` [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements Karel Zak
2025-03-04 1:38 ` Joe Jin
2025-03-04 3:50 ` zhenwei pi
2025-03-04 10:58 ` Karel Zak
2025-03-05 2:23 ` Joe Jin
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=935663c9-8193-45f9-90cd-eab974884bb2@bytedance.com \
--to=pizhenwei@bytedance.com \
--cc=joe.jin@oracle.com \
--cc=kerolasa@iki.fi \
--cc=kzak@redhat.com \
--cc=util-linux@vger.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