* timer/sysclt: Restrict timer migration sysctl values to 0 and 1
@ 2017-09-27 3:27 Kazuhiro Hayashi
2017-10-03 8:51 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kazuhiro Hayashi @ 2017-09-27 3:27 UTC (permalink / raw)
To: stable, gregkh
Cc: mhjungk, tglx, john.stultz, zlpnobody, akpm, ebiederm, subashab,
keescook, edumazet
Hello,
The commit bc7a34b8b9ebfb0f4b8a35a72a0b134fd6c5ef50 drops
min(0)/max(1) checking for timer_migration sysctl.
This change causes that LTP power_management_tests/runpwtests06 fails.
The following commit already in upstream fixes the above issue
by restoring "proc_dointvec_minmax()".
b94bf594cf8ed67cdd0439e70fa939783471597a
("timer/sysclt: Restrict timer migration sysctl values to 0 and 1")
Please consider to apply the above patch to the kernels:
- 4.4 [ LTS ]
- 4.9 [ LTS ]
I confirmed that LTP runpwtests06 PASSes after the patch is applied.
stats:
kernel/sysctl.c | 2 ++
kernel/time/timer.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
Thanks,
Kazuhiro
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: timer/sysclt: Restrict timer migration sysctl values to 0 and 1
2017-09-27 3:27 timer/sysclt: Restrict timer migration sysctl values to 0 and 1 Kazuhiro Hayashi
@ 2017-10-03 8:51 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-10-03 8:51 UTC (permalink / raw)
To: Kazuhiro Hayashi
Cc: stable, mhjungk, tglx, john.stultz, zlpnobody, akpm, ebiederm,
subashab, keescook, edumazet
On Wed, Sep 27, 2017 at 12:27:49PM +0900, Kazuhiro Hayashi wrote:
> Hello,
>
> The commit bc7a34b8b9ebfb0f4b8a35a72a0b134fd6c5ef50 drops
> min(0)/max(1) checking for timer_migration sysctl.
> This change causes that LTP power_management_tests/runpwtests06 fails.
>
> The following commit already in upstream fixes the above issue
> by restoring "proc_dointvec_minmax()".
>
> b94bf594cf8ed67cdd0439e70fa939783471597a
> ("timer/sysclt: Restrict timer migration sysctl values to 0 and 1")
>
> Please consider to apply the above patch to the kernels:
> - 4.4 [ LTS ]
> - 4.9 [ LTS ]
>
> I confirmed that LTP runpwtests06 PASSes after the patch is applied.
Thanks for letting me know, I've now queued up the patch.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-03 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27 3:27 timer/sysclt: Restrict timer migration sysctl values to 0 and 1 Kazuhiro Hayashi
2017-10-03 8:51 ` Greg KH
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).