]> git.baikalelectronics.ru Git - kernel.git/commit
sched/topology: Verify SD_* flags setup when sched_debug is on
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 17 Aug 2020 11:29:51 +0000 (12:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Aug 2020 08:49:48 +0000 (10:49 +0200)
commitf7890e31b7c39621f2d5c22ccb435481cdc3037f
treec749e9a9823031f1564caf7e9830f50184dd59ba
parent5d628365422c036b60e52185a302c67c59d41c90
sched/topology: Verify SD_* flags setup when sched_debug is on

Now that we have some description of what we expect the flags layout to
be, we can use that to assert at runtime that the actual layout is sane.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: https://lore.kernel.org/r/20200817113003.20802-6-valentin.schneider@arm.com
kernel/sched/topology.c