Loading kernel/sched.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -119,8 +119,6 @@ */ */ #define RUNTIME_INF ((u64)~0ULL) #define RUNTIME_INF ((u64)~0ULL) static void double_rq_lock(struct rq *rq1, struct rq *rq2); static inline int rt_policy(int policy) static inline int rt_policy(int policy) { { if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) Loading Loading @@ -1695,6 +1693,8 @@ static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd) #ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT static void double_rq_lock(struct rq *rq1, struct rq *rq2); /* /* * fair double_lock_balance: Safely acquires both rq->locks in a fair * fair double_lock_balance: Safely acquires both rq->locks in a fair * way at the expense of forcing extra atomic operations in all * way at the expense of forcing extra atomic operations in all Loading Loading
kernel/sched.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -119,8 +119,6 @@ */ */ #define RUNTIME_INF ((u64)~0ULL) #define RUNTIME_INF ((u64)~0ULL) static void double_rq_lock(struct rq *rq1, struct rq *rq2); static inline int rt_policy(int policy) static inline int rt_policy(int policy) { { if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) Loading Loading @@ -1695,6 +1693,8 @@ static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd) #ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT static void double_rq_lock(struct rq *rq1, struct rq *rq2); /* /* * fair double_lock_balance: Safely acquires both rq->locks in a fair * fair double_lock_balance: Safely acquires both rq->locks in a fair * way at the expense of forcing extra atomic operations in all * way at the expense of forcing extra atomic operations in all Loading