Re: [PATCH] ia64: change defconfig to NR_CPUS==1024

From: Paul Jackson <pj_at_sgi.com>
Date: 2006-01-12 11:09:37
When I tried to build a 2.6.15-mm2 kernel with NR_CPUS 1024, and turned
on some of the LOCK DEBUG options:

    1160c1160
    < # CONFIG_DEBUG_SLAB is not set
    ---
    > CONFIG_DEBUG_SLAB=y
    1163,1164c1163,1164
    < # CONFIG_DEBUG_SPINLOCK is not set
    < # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
    ---
    > CONFIG_DEBUG_SPINLOCK=y
    > CONFIG_DEBUG_SPINLOCK_SLEEP=y

then the build failed:

      LD      .tmp_vmlinux1
    arch/ia64/kernel/built-in.o(.init.text+0x68b2): In function `topology_init':
    arch/ia64/kernel/ivt.S:1465: undefined reference to `__you_cannot_kmalloc_that_much'
    make: *** [.tmp_vmlinux1] Error 1

Backing off to 512 CPUs built ok.

There are a couple of kmalloc() calls in topology_init().  I didn't try
to figure out which one blew up, nor did I try to investigate further.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 12 11:11:29 2006

This archive was generated by hypermail 2.1.8 : 2006-01-12 11:11:45 EST