linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Ethan Zhao <ethan.zhao@oracle.com>,
	peterz@infradead.org, mingo@redhat.com, mcgrof@kernel.org,
	keescook@chromium.org
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	james.puthukattukaran@oracle.com, ethan.kernel@gmail.com
Subject: Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg
Date: Sat, 02 Sep 2017 09:10:32 +0200	[thread overview]
Message-ID: <1504336232.16793.15.camel@gmx.de> (raw)
In-Reply-To: <1504335452-31806-1-git-send-email-ethan.zhao@oracle.com>

On Sat, 2017-09-02 at 14:57 +0800, Ethan Zhao wrote:
> System will hang if user set sysctl_sched_time_avg to 0 by
> 
> [root@XXX ~]# sysctl kernel.sched_time_avg_ms=0

What's wrong with using proc_dointvec_minmax?

	-Mike

  reply	other threads:[~2017-09-02  7:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02  6:57 [PATCH v2] sched: check user input value of sysctl_sched_time_avg Ethan Zhao
2017-09-02  7:10 ` Mike Galbraith [this message]
2017-09-04  7:49 ` Peter Zijlstra
2017-09-04  7:54   ` Ethan Zhao
2017-09-06 19:50     ` Luis R. Rodriguez
2017-09-07  4:21       ` Ethan Zhao

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=1504336232.16793.15.camel@gmx.de \
    --to=efault@gmx.de \
    --cc=ethan.kernel@gmail.com \
    --cc=ethan.zhao@oracle.com \
    --cc=james.puthukattukaran@oracle.com \
    --cc=keescook@chromium.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.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;
as well as URLs for NNTP newsgroup(s).