Commit e15dafee authored by David Dai's avatar David Dai Committed by Carlos Llamas
Browse files

ANDROID: sched: Add a reserved field for vendors in sched_avg

One such usage for the reserved member is to allow for more accurate
frequency responses for vCPU threads in virtualization usecases. See
link below for more context.

Having the reserved member as part of sched_avg struct instead of
task_struct or sched_entity allows it to be accessable within the same
cacheline as the other PELT signals, which results in better
performance.

Bug: 284368385
Link: https://lore.kernel.org/all/20230330224348.1006691-2-davidai@google.com/


Change-Id: I0f3b90bcbbf98017b2227303c481c76ffaa1139f
Signed-off-by: default avatarDavid Dai <davidai@google.com>
parent 803085fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment