Commit cf4893eb authored by Qais Yousef's avatar Qais Yousef Committed by Treehugger Robot
Browse files

BACKPORT: sched: Add a new function to compare if two cpus have the same capacity



The new helper function is needed to help blk-mq check if it needs to
dispatch the softirq on another CPU to match the performance level the
IO requester is running at. This is important on HMP systems where not
all CPUs have the same compute capacity.

Bug: 341551538
Signed-off-by: default avatarQais Yousef <qyousef@layalina.io>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240223155749.2958009-2-qyousef@layalina.io


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
(cherry picked from commit b361c902)
[Trivial clash due to some code shuffling between versions]
Signed-off-by: default avatarQais Yousef <qyousef@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:ee8168e00c6e4fb04bea953bacb61ff017a39f63)
Merged-In: I58f3f3e3560f4800b5c73b3c85bbfdf628e9764e
Change-Id: I58f3f3e3560f4800b5c73b3c85bbfdf628e9764e
parent e4622d46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment