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 fixes from Ingo Molnar:
"A memory (under-)allocation fix and a comment fix"

* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/topology: Fix off by one bug
sched/rt: Update comment in pick_next_task_rt()

+2 -2
+1 -1
kernel/sched/rt.c
··· 1561 1561 1562 1562 /* 1563 1563 * We may dequeue prev's rt_rq in put_prev_task(). 1564 - * So, we update time before rt_nr_running check. 1564 + * So, we update time before rt_queued check. 1565 1565 */ 1566 1566 if (prev->sched_class == &rt_sched_class) 1567 1567 update_curr_rt(rq);
+1 -1
kernel/sched/topology.c
··· 1337 1337 int level = 0; 1338 1338 int i, j, k; 1339 1339 1340 - sched_domains_numa_distance = kzalloc(sizeof(int) * nr_node_ids, GFP_KERNEL); 1340 + sched_domains_numa_distance = kzalloc(sizeof(int) * (nr_node_ids + 1), GFP_KERNEL); 1341 1341 if (!sched_domains_numa_distance) 1342 1342 return; 1343 1343