Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell: add kernel version check #1016

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yup-21
Copy link

@yup-21 yup-21 commented Feb 23, 2023

the "sched_mc_power_savings" interface has been removed since kernel version 3.5,
fix patch 8e7fbcb("sched: Remove stale power aware scheduling remnants and dysfunctional knobs").
do not execute this testcase on kernel versions 3.5 and above.

Signed-off-by: pengyu pengyu@kylinos.cn

the "sched_mc_power_savings" interface has been removed since kernel version 3.5,fix patch 8e7fbcb("sched: Remove stale power aware scheduling remnants and dysfunctional knobs").
do not execute this testcase on kernel versions 3.5 and above.

Signed-off-by: yup-21 <691762846@qq.com>
Signed-off-by: pengyu <pengyu@kylinos.cn>
@metan-ucw
Copy link
Member

The minimal kernel version the current LTP head supports is 3.10 see doc/supported-kernel-libc-versions.txt so there is no point in keeping tests for interface removed in 3.5, we should remove these tests instead.

@pevik
Copy link
Member

pevik commented Jul 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants