mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: William Kucharski <william.kucharski@oracle.com>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
	davem@davemloft.net, virgile@acceis.fr, linux-mm@kvack.org
Subject: Re: [PATCH] sysctl: clean up nr_pdflush_threads leftover
Date: Thu, 29 Nov 2018 07:09:56 -0700	[thread overview]
Message-ID: <867FB7CF-C7CC-454F-8845-5026FC3D5BEA@oracle.com> (raw)
In-Reply-To: <20181128152407.19062-1-aquini@redhat.com>



> On Nov 28, 2018, at 8:24 AM, Rafael Aquini <aquini@redhat.com> wrote:
> 
> nr_pdflush_threads has been long deprecated and
> removed, but a remnant of its glorious past is
> still around in CTL_VM names enum. This patch
> is a minor clean-up to that case.
> 
> Signed-off-by: Rafael Aquini <aquini@redhat.com>
> ---
> include/uapi/linux/sysctl.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
> index d71013fffaf6..dad5a8f93343 100644
> --- a/include/uapi/linux/sysctl.h
> +++ b/include/uapi/linux/sysctl.h
> @@ -174,7 +174,7 @@ enum
> 	VM_DIRTY_RATIO=12,	/* dirty_ratio */
> 	VM_DIRTY_WB_CS=13,	/* dirty_writeback_centisecs */
> 	VM_DIRTY_EXPIRE_CS=14,	/* dirty_expire_centisecs */
> -	VM_NR_PDFLUSH_THREADS=15, /* nr_pdflush_threads */
> +	VM_UNUSED15=15,		/* was: int nr_pdflush_threads */
> 	VM_OVERCOMMIT_RATIO=16, /* percent of RAM to allow overcommit in */
> 	VM_PAGEBUF=17,		/* struct: Control pagebuf parameters */
> 	VM_HUGETLB_PAGES=18,	/* int: Number of available Huge Pages */
> -- 
> 2.17.2
> 

Please reword the comment to add a colon after the word "int" to match earlier
comments in the enum:

+	VM_UNUSED15=15,		/* was: int: nr_pdflush_threads */

Also, as long as you're changing this file, please fix the typo earlier in the
same enum:

-	VM_UNUSED2=2,		/* was; int: Linear or sqrt() swapout for hogs */
+	VM_UNUSED2=2,		/* was: int: Linear or sqrt() swapout for hogs */


Reviewed-by: William Kucharski <william.kucharski@oracle.com>

  reply	other threads:[~2018-11-29 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28 15:24 Rafael Aquini
2018-11-29 14:09 ` William Kucharski [this message]
2018-11-29 15:08 ` [PATCH v2] " Rafael Aquini

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=867FB7CF-C7CC-454F-8845-5026FC3D5BEA@oracle.com \
    --to=william.kucharski@oracle.com \
    --cc=aquini@redhat.com \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=virgile@acceis.fr \
    /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®