]> err.no Git - linux-2.6/commit
sched: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c
authorMike Travis <travis@sgi.com>
Mon, 12 May 2008 19:21:12 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 16:22:17 +0000 (18:22 +0200)
commita953e4597abd51b74c99e0e3b7074532a60fd031
treec5dc78de79b0b9ff910beff4c2fa156c2760adf3
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4
sched: 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.

For inclusion into sched-devel/latest tree.

Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
    +   sched-devel/latest  .../mingo/linux-2.6-sched-devel.git

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c