Skip to content
Commit 076ac2af authored by Mike Travis's avatar Mike Travis Committed by Ingo Molnar
Browse files

sched, numa: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c



  * Replace usages of MAX_NUMNODES with nr_node_ids in kernel/sched.c,
    where appropriate.  This saves some allocated space as well as many
    wasted cycles going through node entries that are non-existent.

Signed-off-by: default avatarMike Travis <travis@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 886533a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment