[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <YmWjpWWdwN0qxFSR@casper.infradead.org> (raw)
Date: Sat, 30 Apr 2022 13:48:04 +0000
From: Junwen Wu <wudaemon@....com>
To: willy@...radead.org, Junwen Wu <wudaemon@....com>
Cc: adobriyan@...il.com, akpm@...ux-foundation.org, ddiss@...e.de,
fweimer@...hat.com, keescook@...omium.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] proc: limit schedstate node write operation
From: Matthew Wilcox <willy@...radead.org>
On Sun, Apr 24, 2022 at 03:23:54PM +0000, Junwen Wu wrote:
> From: Matthew Wilcox <willy@...radead.org>
>
> On Sat, Apr 23, 2022 at 02:31:04AM +0000, Junwen Wu wrote:
> > Whatever value is written to /proc/$pid/sched, a task's schedstate data
> > will reset.In some cases, schedstate will drop by accident. We restrict
> > writing a certain value to this node before the data is reset.
>
> ... and break the existing scripts which expect the current behaviour.
>
>
> Hi, Matthew,can you describe it in more detail.
> What detail do you need? Existing scripts depend on the existing
> behaviour. Your change to the behaviour will break them. That's not
> allowed, so your patch is rejected.
ooh ,just how to operate the node make the script break. I write data to
this node can work well.
Thanks
Powered by blists - more mailing lists