Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-08 Thread Valentin Schneider
Hi Chen, On 07/07/20 12:56, Chen Yu wrote: > Hi Valentin, > On Mon, Jul 06, 2020 at 11:11:32PM +0100, Valentin Schneider wrote: >> >> On 06/07/20 21:00, Peter Zijlstra wrote: >> > On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: >> >> It was found that recently the flags of sched domain

Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-07 Thread Chen Yu
Hi Valentin, On Mon, Jul 06, 2020 at 11:11:32PM +0100, Valentin Schneider wrote: > > On 06/07/20 21:00, Peter Zijlstra wrote: > > On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: > >> It was found that recently the flags of sched domain could > >> not be customized via sysctl, which might

Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-07 Thread Chen Yu
Hi Peter, On Mon, Jul 06, 2020 at 10:00:49PM +0200, Peter Zijlstra wrote: > On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: > > It was found that recently the flags of sched domain could > > not be customized via sysctl, which might make it a little > > inconenient for performance

Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-06 Thread Valentin Schneider
On 06/07/20 21:00, Peter Zijlstra wrote: > On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: >> It was found that recently the flags of sched domain could >> not be customized via sysctl, which might make it a little >> inconenient for performance tuning/debugging. > > What specific goals

Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-06 Thread Peter Zijlstra
On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: > It was found that recently the flags of sched domain could > not be customized via sysctl, which might make it a little > inconenient for performance tuning/debugging. What specific goals do you have? This is a debug interface.

[PATCH 0/2][RFC] Makes sd->flags sysctl writable

2020-07-06 Thread Chen Yu
It was found that recently the flags of sched domain could not be customized via sysctl, which might make it a little inconenient for performance tuning/debugging. echo 343 > /proc/sys/kernel/sched_domain/cpu0/domain0/flags bash: flags: Permission denied 343 stands for: (SD_BALANCE_NEWIDLE