You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched: sched_slice() fixlet sched: fix update_min_vruntime sched: SCHED_OTHER vs SCHED_IDLE isolation sched: SCHED_IDLE weight change sched: fix bandwidth validation for UID grouping Revert "sched: improve preempt debugging"
This commit is contained in:
+10
-3
@@ -1323,8 +1323,8 @@ static inline void update_load_sub(struct load_weight *lw, unsigned long dec)
|
||||
* slice expiry etc.
|
||||
*/
|
||||
|
||||
#define WEIGHT_IDLEPRIO 2
|
||||
#define WMULT_IDLEPRIO (1 << 31)
|
||||
#define WEIGHT_IDLEPRIO 3
|
||||
#define WMULT_IDLEPRIO 1431655765
|
||||
|
||||
/*
|
||||
* Nice levels are multiplicative, with a gentle 10% change for every
|
||||
@@ -4440,7 +4440,7 @@ void __kprobes sub_preempt_count(int val)
|
||||
/*
|
||||
* Underflow?
|
||||
*/
|
||||
if (DEBUG_LOCKS_WARN_ON(val > preempt_count() - (!!kernel_locked())))
|
||||
if (DEBUG_LOCKS_WARN_ON(val > preempt_count()))
|
||||
return;
|
||||
/*
|
||||
* Is the spinlock portion underflowing?
|
||||
@@ -9050,6 +9050,13 @@ static int tg_schedulable(struct task_group *tg, void *data)
|
||||
runtime = d->rt_runtime;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USER_SCHED
|
||||
if (tg == &root_task_group) {
|
||||
period = global_rt_period();
|
||||
runtime = global_rt_runtime();
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Cannot have more runtime than the period.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user