1. 06 2月, 2008 28 次提交
  2. 05 2月, 2008 12 次提交
    • L
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · 9ef9dc69
      Linus Torvalds 提交于
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (44 commits)
        [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option
        [ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
        [ARM] 4820/1: RealView: Select the timer IRQ at run-time
        [ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
        [ARM] 4818/1: RealView: Add core-tile detection
        [ARM] 4817/1: RealView: Move the AMBA resource definitions to realview_eb.c
        [ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
        [ARM] 4815/1: RealView: Add clockevents suport for the local timers
        [ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
        [ARM] 4813/1: Add SMP helper functions for clockevents support
        [ARM] 4812/1: RealView: clockevents support for the RealView platforms
        [ARM] 4811/1: RealView: clocksource support for the RealView platforms
        [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags
        [ARM] 4798/1: pcm027: fix missing header file
        [ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1
        [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h
        [ARM] pxa: introduce sysdev for pxa3xx static memory controller
        [ARM] pxa: add preliminary suspend/resume code for pxa3xx
        [ARM] pxa: introduce sysdev for GPIO register saving/restoring
        [ARM] pxa: introduce sysdev for IRQ register saving/restoring
        ...
      9ef9dc69
    • L
      Merge branch 'slub-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm · 2c8296f8
      Linus Torvalds 提交于
      * 'slub-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm:
        Explain kmem_cache_cpu fields
        SLUB: Do not upset lockdep
        SLUB: Fix coding style violations
        Add parameter to add_partial to avoid having two functions
        SLUB: rename defrag to remote_node_defrag_ratio
        Move count_partial before kmem_cache_shrink
        SLUB: Fix sysfs refcounting
        slub: fix shadowed variable sparse warnings
      2c8296f8
    • C
      Explain kmem_cache_cpu fields · da89b79e
      Christoph Lameter 提交于
      Add some comments explaining the fields of the kmem_cache_cpu structure.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      da89b79e
    • R
      SLUB: Do not upset lockdep · ba84c73c
      root 提交于
      inconsistent {softirq-on-W} -> {in-softirq-W} usage.
      swapper/0 [HC0[0]:SC1[1]:HE0:SE0] takes:
       (&n->list_lock){-+..}, at: [<ffffffff802935c1>] add_partial+0x31/0xa0
      {softirq-on-W} state was registered at:
        [<ffffffff80259fb8>] __lock_acquire+0x3e8/0x1140
        [<ffffffff80259838>] debug_check_no_locks_freed+0x188/0x1a0
        [<ffffffff8025ad65>] lock_acquire+0x55/0x70
        [<ffffffff802935c1>] add_partial+0x31/0xa0
        [<ffffffff805c76de>] _spin_lock+0x1e/0x30
        [<ffffffff802935c1>] add_partial+0x31/0xa0
        [<ffffffff80296f9c>] kmem_cache_open+0x1cc/0x330
        [<ffffffff805c7984>] _spin_unlock_irq+0x24/0x30
        [<ffffffff802974f4>] create_kmalloc_cache+0x64/0xf0
        [<ffffffff80295640>] init_alloc_cpu_cpu+0x70/0x90
        [<ffffffff8080ada5>] kmem_cache_init+0x65/0x1d0
        [<ffffffff807f1b4e>] start_kernel+0x23e/0x350
        [<ffffffff807f112d>] _sinittext+0x12d/0x140
        [<ffffffffffffffff>] 0xffffffffffffffff
      
      This change isn't really necessary for correctness, but it prevents lockdep
      from getting upset and then disabling itself.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Christoph Lameter <clameter@sgi.com>
      Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      ba84c73c
    • P
      SLUB: Fix coding style violations · 06428780
      Pekka Enberg 提交于
      This fixes most of the obvious coding style violations in mm/slub.c as
      reported by checkpatch.
      Acked-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      06428780
    • C
      Add parameter to add_partial to avoid having two functions · 7c2e132c
      Christoph Lameter 提交于
      Add a parameter to add_partial instead of having separate functions.  The
      parameter allows a more detailed control of where the slab pages is placed in
      the partial queues.
      
      If we put slabs back to the front then they are likely immediately used for
      allocations.  If they are put at the end then we can maximize the time that
      the partial slabs spent without being subject to allocations.
      
      When deactivating slab we can put the slabs that had remote objects freed (we
      can see that because objects were put on the freelist that requires locks) to
      them at the end of the list so that the cachelines of remote processors can
      cool down.  Slabs that had objects from the local cpu freed to them (objects
      exist in the lockless freelist) are put in the front of the list to be reused
      ASAP in order to exploit the cache hot state of the local cpu.
      
      Patch seems to slightly improve tbench speed (1-2%).
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Reviewed-by: NPekka Enberg <penberg@cs.helsinki.fi>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      7c2e132c
    • C
      SLUB: rename defrag to remote_node_defrag_ratio · 9824601e
      Christoph Lameter 提交于
      The NUMA defrag works by allocating objects from partial slabs on remote
      nodes.  Rename it to
      
      	remote_node_defrag_ratio
      
      to be clear about this.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      9824601e
    • C
      Move count_partial before kmem_cache_shrink · f61396ae
      Christoph Lameter 提交于
      Move the counting function for objects in partial slabs so that it is placed
      before kmem_cache_shrink.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      f61396ae
    • C
      SLUB: Fix sysfs refcounting · 151c602f
      Christoph Lameter 提交于
      If CONFIG_SYSFS is set then free the kmem_cache structure when
      sysfs tells us its okay.
      
      Otherwise there is the danger (as pointed out by
      Al Viro) that sysfs thinks the kobject still exists after
      kmem_cache_destroy() removed it.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Reviewed-by: NPekka J Enberg <penberg@cs.helsinki.fi>
      151c602f
    • H
      slub: fix shadowed variable sparse warnings · e374d483
      Harvey Harrison 提交于
      Introduce 'len' at outer level:
      mm/slub.c:3406:26: warning: symbol 'n' shadows an earlier one
      mm/slub.c:3393:6: originally declared here
      
      No need to declare new node:
      mm/slub.c:3501:7: warning: symbol 'node' shadows an earlier one
      mm/slub.c:3491:6: originally declared here
      
      No need to declare new x:
      mm/slub.c:3513:9: warning: symbol 'x' shadows an earlier one
      mm/slub.c:3492:6: originally declared here
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      e374d483
    • R
      Merge branches 'at91', 'ixp', 'master', 'misc', 'pxa' and 'realview' into devel · 0d899e1b
      Russell King 提交于
      * at91:
        [ARM] 4802/1: Fix typo and remove vague comment
        [ARM] 4660/3: at91: allow selecting UART for early kernel messages
        [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work
      
      * ixp:
        [ARM] 4809/2: ixp4xx: Merge dsmg600-power.c into dsmg600-setup.c
        [ARM] 4808/2: ixp4xx: Merge nas100d-power.c into nas100d-setup.c
        [ARM] 4807/2: ixp4xx: Merge nslu2-power.c into nslu2-setup.c
        [ARM] 4806/1: ixp4xx: Ethernet support for the nslu2 and nas100d boards
        [ARM] 4805/1: ixp4xx: Use leds-gpio driver instead of IXP4XX-GPIO-LED driver
        [ARM] 4715/2: Ethernet support for IXDP425 boards
        [ARM] 4714/2: Headers for IXP4xx built-in Ethernet and WAN drivers
        [ARM] 4713/3: Adds drivers for IXP4xx QMgr and NPE features
        [ARM] 4712/2: Adds functions to read and write IXP4xx "feature" bits
        [ARM] 4774/2: ixp4xx: Register dsmg600 rtc i2c_board_info
        [ARM] 4773/2: ixp4xx: Register nas100d rtc i2c_board_info
        [ARM] 4772/2: ixp4xx: Register nslu2 rtc i2c_board_info
        [ARM] 4769/2: ixp4xx: Button updates for the dsmg600 board
        [ARM] 4768/2: ixp4xx: Button and LED updates for the nas100d board
        [ARM] 4767/2: ixp4xx: Add bitops.h include to io.h
        [ARM] 4766/2: ixp4xx: Update ixp4xx_defconfig, enabling all supported boards
      
      * master:
        [ARM] 4810/1: - Fix 'section mismatch' building warnings
        [ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking
        [ARM] 21285 serial: fix build error
      
      * misc:
        [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags
      
      * pxa:
        [ARM] 4798/1: pcm027: fix missing header file
        [ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1
        [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h
        [ARM] pxa: introduce sysdev for pxa3xx static memory controller
        [ARM] pxa: add preliminary suspend/resume code for pxa3xx
        [ARM] pxa: introduce sysdev for GPIO register saving/restoring
        [ARM] pxa: introduce sysdev for IRQ register saving/restoring
        [ARM] pxa: fix the warning of undeclared "struct pxaohci_platform_data"
        [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass
      
      * realview:
        [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option
        [ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
        [ARM] 4820/1: RealView: Select the timer IRQ at run-time
        [ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
        [ARM] 4818/1: RealView: Add core-tile detection
        [ARM] 4817/1: RealView: Move the AMBA resource definitions to realview_eb.c
        [ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
        [ARM] 4815/1: RealView: Add clockevents suport for the local timers
        [ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
        [ARM] 4813/1: Add SMP helper functions for clockevents support
        [ARM] 4812/1: RealView: clockevents support for the RealView platforms
        [ARM] 4811/1: RealView: clocksource support for the RealView platforms
      0d899e1b
    • C
      [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option · 41579f49
      Catalin Marinas 提交于
      This patch changes the REALVIEW_MPCORE configuration option to
      REALVIEW_EB_ARM11MP since this is only specific to RealView/EB.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      41579f49