1. 11 2月, 2006 6 次提交
    • A
      [PATCH] Fix building external modules on ppc32 · 70567293
      Andreas Gruenbacher 提交于
      We are setting up sources for building external modules like this:
      
        /usr/src/linux-obj> # create a .config file
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD oldconfig
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD prepare
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD scripts
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD clean
      
      After that, external modules can be built with:
      
        /usr/src/module> make -C /usr/src/linux-obj M=$PWD
      
      This fails for ppc32 because the `make clean' removes the
      arch/powerpc/include directory.  This should be done in archmrproper
      instead of in archclean.
      Signed-off-by: NAndreas Gruenbacher <agruen@suse.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      70567293
    • H
      [PATCH] remove bogus comment from init/main.c · 02df360b
      Heiko Carstens 提交于
      Remove bogus comment from init function which could lead to the assumption
      that cpu_possible_map is setup in smp_prepare_cpus().
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      02df360b
    • H
      [PATCH] kexec: fix in free initrd when overlapped with crashkernel region · 9c15e852
      Haren Myneni 提交于
      It is possible that the reserved crashkernel region can be overlapped with
      initrd since the bootloader sets the initrd location.  When the initrd
      region is freed, the second kernel memory will not be contiguous.  The
      Kexec_load can cause an oops since there is no contiguous memory to write
      the second kernel or this memory could be used in the first kernel itself
      and may not be part of the dump.  For example, on powerpc, the initrd is
      located at 36MB and the crashkernel starts at 32MB.  The kexec_load caused
      panic since writing into non-allocated memory (after 36MB).  We could see
      the similar issue even on other archs.
      
      One possibility is to move the initrd outside of crashkernel region.  But,
      the initrd region will be freed anyway before the system is up.  This patch
      fixes this issue and frees only regions that are not part of crashkernel
      memory in case overlaps.
      Signed-off-by: NHaren Myneni <haren@us.ibm.com>
      Acked-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9c15e852
    • J
      [PATCH] wrong firmware location in IPW2100 Kconfig entry · afcd0241
      Jesper Juhl 提交于
      Firmware should go into /lib/firmware, not /etc/firmware.
      
      Found by Alejandro Bonilla.
      Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Acked-by: NZhu Yi <yi.zhu@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      afcd0241
    • N
      [PATCH] sched: remove smpnice · a2000572
      Nick Piggin 提交于
      I don't think the code is quite ready, which is why I asked for Peter's
      additions to also be merged before I acked it (although it turned out that
      it still isn't quite ready with his additions either).
      
      Basically I have had similar observations to Suresh in that it does not
      play nicely with the rest of the balancing infrastructure (and raised
      similar concerns in my review).
      
      The samples (group of 4) I got for "maximum recorded imbalance" on a 2x2
      SMP+HT Xeon are as follows:
      
                  | Following boot | hackbench 20        | hackbench 40
       -----------+----------------+---------------------+---------------------
       2.6.16-rc2 | 30,37,100,112  | 5600,5530,6020,6090 | 6390,7090,8760,8470
       +nosmpnice |  3, 2,  4,  2  |   28, 150, 294, 132 |  348, 348, 294, 347
      
      Hackbench raw performance is down around 15% with smpnice (but that in
      itself isn't a huge deal because it is just a benchmark).  However, the
      samples show that the imbalance passed into move_tasks is increased by
      about a factor of 10-30.  I think this would also go some way to explaining
      latency blips turning up in the balancing code (though I haven't actually
      measured that).
      
      We'll probably have to revert this in the SUSE kernel.
      
      Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Cc: Peter Williams <pwil3058@bigpond.net.au>
      Cc: "Martin J. Bligh" <mbligh@aracnet.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a2000572
    • L
      4b0955a6
  2. 10 2月, 2006 20 次提交
  3. 09 2月, 2006 14 次提交