]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: add missing sched_balance_exec() call
authorAndrew Morton <akpm@osdl.org>
Thu, 22 Jan 2004 00:15:28 +0000 (16:15 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 22 Jan 2004 00:15:28 +0000 (16:15 -0800)
From: Anton Blanchard <anton@samba.org>

We were missing the sched_balance_exec call.  Could explain some NUMA
scheduling weirdness we were seeing.

arch/ppc64/kernel/sys_ppc32.c

index 7d7e88304be8f50f248e95fc6e0fdcfa9c9e2629..5f81ce807dcc8ef5558e56bca625ad0660d364ef 100644 (file)
@@ -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);