Commit 23cea43f authored by Steve Sistare's avatar Steve Sistare Committed by Cheng Yu
Browse files

sched/fair: Provide can_migrate_task_llc

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PIYZ
CVE: NA

Reference: https://lore.kernel.org/lkml/1541767840-93588-8-git-send-email-steven.sistare@oracle.com/



---------------------------

Define a simpler version of can_migrate_task called can_migrate_task_llc
which does not require a struct lb_env argument, and judges whether a
migration from one CPU to another within the same LLC should be allowed.

Signed-off-by: default avatarSteve Sistare <steven.sistare@oracle.com>
Signed-off-by: default avatarCheng Yu <serein.chengyu@huawei.com>
parent 1542af1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment