- sched_domain-handle-kmalloc-failure-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     sched_domain-handle-kmalloc-failure-fix

has been removed from the -mm tree.  Its filename is

     sched_domain-handle-kmalloc-failure-fix.patch

This patch was dropped because it was folded into sched_domain-handle-kmalloc-failure.patch

------------------------------------------------------
Subject: sched_domain-handle-kmalloc-failure-fix
From: Lee Schermerhorn <Lee.Schermerhorn@xxxxxx>


2.6.17-rc1-mm1 hangs during boot on HP rx8620 and dl585 -- both 4 node NUMA
platforms.  Problem is in build_sched_domains() setting up the
sched_group_nodes[] lists, resulting from patch:
sched_domain-handle-kmalloc-failure.patch

The referenced patch does not propagate the "next" pointer from the head of
the list, resulting in a loop between the last 2 groups in the list.  This
causes a tight loop/hang in init_numa_sched_groups_power() because
'sg->next' never == 'group_head' when you have > 2 nodes.

This patch seems to fix the problem.

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@xxxxxx>
Cc: Srivatsa Vaddagir <vatsa@xxxxxxxxxx>
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: "Siddha, Suresh B" <suresh.b.siddha@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/sched.c~sched_domain-handle-kmalloc-failure-fix kernel/sched.c
--- a/kernel/sched.c~sched_domain-handle-kmalloc-failure-fix
+++ a/kernel/sched.c
@@ -6089,7 +6089,7 @@ static int build_sched_domains(const cpu
 			}
 			sg->cpu_power = 0;
 			sg->cpumask = tmp;
-			sg->next = prev;
+			sg->next = prev->next;
 			cpus_or(covered, covered, tmp);
 			prev->next = sg;
 			prev = sg;
_

Patches currently in -mm which might be from Lee.Schermerhorn@xxxxxx are

sched_domain-handle-kmalloc-failure.patch
sched_domain-handle-kmalloc-failure-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux