mbox series

[v4,0/2] sched/starvation: Choose from available cpus

Message ID 20240613210059.352767-1-edliaw@google.com
Headers show
Series sched/starvation: Choose from available cpus | expand

Message

Edward Liaw June 13, 2024, 9 p.m. UTC
The starvation test was failing as a 32bit test for some arm
architectures where cpu 0 does not support 32bit applications.

v1: https://lore.kernel.org/ltp/20240605180536.1288027-1-edliaw@google.com/

v2: https://lore.kernel.org/ltp/20240606014022.1425928-1-edliaw@google.com/
Made these substitutions based on Wei's suggestions:
s/TST_EXP_POSITIVE/TST_EXP_PASS
s/TCONF/TBROK

v3: https://lore.kernel.org/ltp/20240606173933.1671989-1-edliaw@google.com/
Substituted test macros with check based on Petr's suggestions.
Split commit into two: first to fix the return code check on
sched_setaffinity.  Second to choose the cpu.

v4:
Fixed some typos and commit tags.

Edward Liaw (1):
  sched/starvation: Fix sched_setaffinity return check

Edward Liaw via ltp (1):
  sched/starvation: Choose from available cpus

 .../kernel/sched/cfs-scheduler/starvation.c   | 21 +++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

--
2.45.2.627.g7a2c4fd464-goog

Comments

Cyril Hrubis June 17, 2024, 3:15 p.m. UTC | #1
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>