timer/sysclt: Restrict timer migration sysctl values to 0 and 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]