From: Matthew Wilcox <willy@infradead.org>
To: Hailong Tu <tuhailong@gmail.com>
Cc: sj@kernel.org, torvalds@linux-foundation.org, gregkh@google.com,
surenb@google.com, linux-mm@kvack.org, tuhailong@oppo.com,
lichunpeng@oppo.com
Subject: Re: [PATCH] mm/damon: Fix the timer always stays active
Date: Wed, 20 Apr 2022 21:58:42 +0100 [thread overview]
Message-ID: <YmB0AoqUU6gfJhEY@casper.infradead.org> (raw)
In-Reply-To: <20220420180031.36396-1-tuhailong@gmail.com>
On Thu, Apr 21, 2022 at 02:00:31AM +0800, Hailong Tu wrote:
> +static int enabled_show(char *buffer, const struct kernel_param *kp)
> +{
> + return sprintf(buffer, "%c\n", enabled ? 'Y' : 'N');
> +}
Why duplicate param_get_bool()?
prev parent reply other threads:[~2022-04-20 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 18:00 Hailong Tu
2022-04-20 20:58 ` Matthew Wilcox [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=YmB0AoqUU6gfJhEY@casper.infradead.org \
--to=willy@infradead.org \
--cc=gregkh@google.com \
--cc=lichunpeng@oppo.com \
--cc=linux-mm@kvack.org \
--cc=sj@kernel.org \
--cc=surenb@google.com \
--cc=torvalds@linux-foundation.org \
--cc=tuhailong@gmail.com \
--cc=tuhailong@oppo.com \
/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