Commit 1542af1d authored by Steve Sistare's avatar Steve Sistare Committed by Cheng Yu
Browse files

sched/fair: Generalize the detach_task interface

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

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



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

The detach_task function takes a struct lb_env argument, but only needs a
few of its members.  Pass the rq and cpu arguments explicitly so the
function may be called from code that is not based on lb_env.  No
functional change.

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