From 32a43f83815bfea9ae455b1d2c6a8ba4cd21b181 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 21 Jan 2004 16:15:28 -0800 Subject: [PATCH] [PATCH] ppc64: add missing sched_balance_exec() call From: Anton Blanchard We were missing the sched_balance_exec call. Could explain some NUMA scheduling weirdness we were seeing. --- arch/ppc64/kernel/sys_ppc32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/ppc64/kernel/sys_ppc32.c b/arch/ppc64/kernel/sys_ppc32.c index 7d7e88304be8f..5f81ce807dcc8 100644 --- a/arch/ppc64/kernel/sys_ppc32.c +++ b/arch/ppc64/kernel/sys_ppc32.c @@ -2011,6 +2011,8 @@ static int do_execve32(char * filename, u32 * argv, u32 * envp, struct pt_regs * int retval; int i; + sched_balance_exec(); + file = open_exec(filename); retval = PTR_ERR(file); -- 2.53.0