From: Srivatsa Vaddagiri Date: Tue, 27 Jun 2006 09:54:38 +0000 (-0700) Subject: [PATCH] sched_domain: handle kmalloc failure X-Git-Tag: v2.6.18-rc1~508 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51888ca25a03125e742ef84d4ddfd74e139707a0;p=pandora-kernel.git [PATCH] sched_domain: handle kmalloc failure Try to handle mem allocation failures in build_sched_domains by bailing out and cleaning up thus-far allocated memory. The patch has a direct consequence that we disable load balancing completely (even at sibling level) upon *any* memory allocation failure. [Lee.Schermerhorn@hp.com: bugfix] Signed-off-by: Srivatsa Vaddagir Cc: Nick Piggin Cc: Ingo Molnar Cc: "Siddha, Suresh B" Signed-off-by: Lee Schermerhorn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed