Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1725462

Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg

From Mike Galbraith <efault@gmx.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg
Date 2017-09-02 09:20 +0200
Message-ID <ulaSJ-8pf-7@gated-at.bofh.it> (permalink)
References <ulazn-81X-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] sched: check user input value of sysctl_sched_time_avg Ethan Zhao <ethan.zhao@oracle.com> - 2017-09-02 09:00 +0200
  Re: [PATCH v2] sched: check user input value of  sysctl_sched_time_avg Mike Galbraith <efault@gmx.de> - 2017-09-02 09:20 +0200
  Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg Peter Zijlstra <peterz@infradead.org> - 2017-09-04 09:50 +0200
    Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg Ethan Zhao <ethan.zhao@oracle.com> - 2017-09-04 10:00 +0200
      Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-09-06 22:00 +0200
        Re: [PATCH v2] sched: check user input value of sysctl_sched_time_avg Ethan Zhao <ethan.zhao@oracle.com> - 2017-09-07 06:30 +0200

csiph-web