06 Dec, 2007

8 commits


05 Dec, 2007

1 commit


04 Dec, 2007

1 commit


03 Dec, 2007

18 commits


02 Dec, 2007

2 commits

  • Use smp_send_stop() to move all cpus besides the one executing reboot
    into a hold loop, to keep them from being in powersavings mode at the
    time of reboot.

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • When the PWRficient cpus are entered into powersavings states, the
    astate is automatically dropped down to 0. While we still restore it
    when we come out of idle, it can still cause some weird effects with
    respect to performance (especially since it takes a while to ramp up to
    higher astates).

    So, to avoid this, don't enter power savings when the cpufreq driver
    (or user) has set higher astates than 0.

    The restore is still required, since there's a chance the astate has
    been raised from the other cpu while the idling one was asleep.

    Signed-off-by: Olof Johansson

    Olof Johansson
     

01 Dec, 2007

7 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    IB/ehca: Fix static rate if path faster than link
    IPoIB: Fix oops if xmit is called when priv->broadcast is NULL

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    [MIPS] Fix build.
    [MIPS] Fix use of smp_processor_id() in preemptible code.

    Linus Torvalds
     
  • Signed-off-by: Ralf Baechle

    Ralf Baechle
     
  • Freeing prom memory: 956kb freed
    Freeing firmware memory: 978944k freed
    Freeing unused kernel memory: 180k freed
    BUG: using smp_processor_id() in preemptible [00000000] code: swapper/1
    caller is r4k_dma_cache_wback_inv+0x144/0x2a0
    Call Trace:
    [] r4k_dma_cache_wback_inv+0x144/0x2a0
    [] debug_smp_processor_id+0xd4/0xf0
    [] debug_smp_processor_id+0xcc/0xf0
    ...
    CONFIG_DEBUG_PREEMPT is enabled.
    --
    Bug cause is blast_dcache_range() in preemptible code [in
    r4k_dma_cache_wback_inv()].
    blast_dcache_range() is constructed via __BUILD_BLAST_CACHE_RANGE that
    uses cpu_dcache_line_size(). It uses current_cpu_data that use
    smp_processor_id() in turn. In case of CONFIG_DEBUG_PREEMPT
    smp_processor_id emits BUG if we are executing with preemption
    enabled.

    Cpu options of cpu0 are assumed to be the superset of all processors.

    Can I make the same assumptions for cache line size and fix this
    issue the following way:

    Signed-off-by: Ralf Baechle

    Pavel Kiryukhin
     
  • The formula would yield -1 if the path is faster than the link, which
    is wrong in a bad way (max throttling). Clamp to 0, which is the
    correct value.

    Signed-off-by: Joachim Fenkes
    Signed-off-by: Roland Dreier

    Joachim Fenkes
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4680/1: parentheses around NR_IRQS definition
    [ARM] 4679/1: AT91: Change maintainer email address
    [ARM] 4675/1: pxa: fix mfp address definition error for pxa320
    [ARM] 4674/1: pxa: increase LCD PCLK drive strength to fast 2mA for PXA300/PXA310
    [ARM] 4673/1: pxa: add missing IRQ_SSP4 definitions for PXA3xx
    [ARM] 4672/1: pxa: fix DRCMR(n) to support PXA27x and later processors
    [ARM] 4665/1: fix __und_usr wrt accessing the undefined insn in user space
    [ARM] 4659/1: remove possibilities for spurious false negative with __kuser_cmpxchg
    [ARM] 4661/1: fix do_undefinstr wrt the enabling of IRQs
    [ARM] uengine: fix memset size error
    [ARM] 4648/1: i.MX/MX1 ensure more complete AITC initialization
    [ARM] 4611/2: AT91: Fix GPIO buttons pins on SAM9261-EK.
    [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio
    [ARM] 4604/2: AT91: Master clock divistor on SAM9
    [ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled
    [ARM] PXA ssp: unlock when ssp tries to close an invalid port
    [ARM] 4654/1: pxa: update default MFP register value
    [ARM] 4653/1: pxa: fix a gpio typo in mfp-pxa320.h
    [ARM] 4652/1: pxa: fix a typo of pxa27x usb host clk definition
    [ARM] 4651/1: pxa: add PXA3xx specific IRQ definitions

    Linus Torvalds
     
  • The database performance group have found that half the cycles spent
    in kmem_cache_free are spent in this one call to BUG_ON. Moving it
    into the CONFIG_SLAB_DEBUG-only function cache_free_debugcheck() is a
    performance win of almost 0.5% on their particular benchmark.

    The call was added as part of commit ddc2e812d592457747c4367fb73edcaa8e1e49ff
    with the comment that "overhead should be minimal". It may have been
    minimal at the time, but it isn't now.

    [ Quoth Pekka Enberg: "I don't think the BUG_ON per se caused the
    performance regression but rather the virt_to_head_page() changes to
    virt_to_cache() that were added later." ]

    Signed-off-by: Matthew Wilcox
    Acked-by: Pekka J Enberg
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     

30 Nov, 2007

3 commits