]> git.baikalelectronics.ru Git - kernel.git/commit
sched/debug: Fix requested task uclamp values shown in procfs
authorPavankumar Kondeti <pkondeti@codeaurora.org>
Sun, 10 May 2020 12:56:41 +0000 (18:26 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 19 May 2020 18:34:10 +0000 (20:34 +0200)
commit9ee838a220e4f191335c0755de7c57ff15b3fb9b
tree6c9c3e8546320f13a432b8c4623fd062421ca757
parent501b52e711a9b5a7730d2a59dcfcf56fe2559939
sched/debug: Fix requested task uclamp values shown in procfs

The intention of commit e76d112fc9c3 ("sched/debug: Add task uclamp
values to SCHED_DEBUG procfs") was to print requested and effective
task uclamp values. The requested values printed are read from p->uclamp,
which holds the last effective values. Fix this by printing the values
from p->uclamp_req.

Fixes: e76d112fc9c3 ("sched/debug: Add task uclamp values to SCHED_DEBUG procfs")
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/1589115401-26391-1-git-send-email-pkondeti@codeaurora.org
kernel/sched/debug.c