Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:
"An autogroup nice level adjustment bug fix"

* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/autogroup: Fix 64-bit kernel nice level adjustment

+3 -1
+3 -1
kernel/sched/auto_group.c
··· 212 212 { 213 213 static unsigned long next = INITIAL_JIFFIES; 214 214 struct autogroup *ag; 215 + unsigned long shares; 215 216 int err; 216 217 217 218 if (nice < MIN_NICE || nice > MAX_NICE) ··· 231 230 232 231 next = HZ / 10 + jiffies; 233 232 ag = autogroup_task_get(p); 233 + shares = scale_load(sched_prio_to_weight[nice + 20]); 234 234 235 235 down_write(&ag->lock); 236 - err = sched_group_set_shares(ag->tg, sched_prio_to_weight[nice + 20]); 236 + err = sched_group_set_shares(ag->tg, shares); 237 237 if (!err) 238 238 ag->nice = nice; 239 239 up_write(&ag->lock);