Re: [RFC][PATCH 12/26] sched, mm: sched_{fork,exec} node assignment

Tony Luck
2012-06-15T18:16:02Z

On Fri, Mar 16, 2012 at 7:40 AM, Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
> Rework the scheduler fork,exec hooks to allow home-node assignment.

Some compile errors on the (somewhat bizarre) CONFIG_SMP=n,
CONFIG_NUMA=y case:

> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> +
> +       select_task_node(p, p->mm, SD_BALANCE_FORK);
kernel/sched/core.c: In function ‘sched_fork’:
kernel/sched/core.c:1802: error: ‘SD_BALANCE_FORK’ undeclared (first
use in this function)

Also (from an earlier patch?)

In file included from kernel/sched/core.c:84:
kernel/sched/sched.h: In function ‘offnode_tasks’:
kernel/sched/sched.h:477: error: ‘struct rq’ has no member named ‘offnode_tasks’

-Tony