Re: [PATCH v1] proc: limit schedstate node write operation

From: Junwen Wu
Date: Sun Apr 24 2022 - 11:34:33 EST


From: Matthew Wilcox <willy@xxxxxxxxxxxxx>

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.

Thanks