node affine NUMA scheduler 2/5
Subsystems (3)
PATCH 1/1 node affine NUMA scheduler 2/5
---------- Resent Message ----------
Subject: [PATCH] node affine NUMA scheduler 2/5
Date: Fri, 11 Oct 2002 19:56:22 +0200
This is the second part of the node affine NUMA scheduler patches.
Quoted 5 lines
02-numa_sched_ilb-2.5.39-10.patch :
This patch provides simple initial load balancing duringexec(). It is node aware and will select the least loaded node. Also it does a round-robin initial node selection to distribute the load better across the nodes.
Erich
fs/exec.c +1 -0
@@ -993,6 +993,7 @@ int do_execve(char * filename, char ** aint retval;int i; +sched_balance_exec (); file =open_exec (filename); retval =PTR_ERR (file);
include/linux/sched.h +3 -0
@@ -461,6 +461,9 @@ extern void set_cpus_allowed(task_t *p,extern void build_pools (void );extern void pooldata_lock (void );extern void pooldata_unlock (void ); +extern void sched_balance_exec (void ); +#else +#define sched_balance_exec () {}#endif extern void sched_migrate_task (task_t *p,int cpu);
kernel/sched.c +72 -0
78 lines not on this page · raw message