Skip to content
  1. Feb 11, 2009
    • Stefan Weinhuber's avatar
      [S390] dasd: fix race in dasd timer handling · 48cae885
      Stefan Weinhuber authored
      
      
      In dasd_device_set_timer and dasd_block_set_timer we interpret the
      return value of mod_timer in a wrong way. If the timer expires in
      the small window between our check of timer_pending and the call to
      mod_timer, then the timer will be set, mod_timer returns zero and
      we will call add_timer for a timer that is already pending.
      As del_timer and mod_timer do all the necessary checking themselves,
      we can simplify our code and remove the race a the same time.
      
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      48cae885
    • Cornelia Huck's avatar
      [S390] dasd: bus_id -> dev_name() conversion. · ca0b4b7d
      Cornelia Huck authored
      
      
      bus_id usage crept in again; fix it.
      
      Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      ca0b4b7d
    • Sachin Sant's avatar
      [S390] Fix init irq proc build break. · 0addff81
      Sachin Sant authored
      Embed init_irq_proc(s390) within CONFIG_PROC_FS to fix a build break.
      
      Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
      0addff81
    • Martin Schwidefsky's avatar
      [S390] vdso: fix per cpu vdso pointer in lowcore · d5e842c4
      Martin Schwidefsky authored
      
      
      The vdso_per_cpu_data entry in the lowcore structure uses __u32
      instead of __u64. If the data page is above 4GB the pointer is
      truncated and the kernel crashes.
      
      Reported-by: default avatarMijo Safradin <mijo@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      d5e842c4
    • Stefan Richter's avatar
      hugetlbfs: fix build failure with !CONFIG_HUGETLBFS · 1db8508c
      Stefan Richter authored
      Fix regression due to 5a6fe125
      
      ,
      "Do not account for the address space used by hugetlbfs using VM_ACCOUNT"
      which added an argument to the function hugetlb_file_setup() but not to
      the macro hugetlb_file_setup().
      
      Reported-by: default avatarChris Clayton <chris2553@googlemail.com>
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Acked-by: default avatarMel Gorman <mel@csn.ul.ie>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1db8508c
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · c36c63c5
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc: Add missing sparsemem.h include
        powerpc/pci: mmap anonymous memory when legacy_mem doesn't exist
        powerpc/cell: Add missing #include for oprofile
        powerpc/ftrace: Fix math to calculate offset in TOC
        powerpc: Don't emulate mr. instructions
        powerpc/fsl-booke: Fix mapping functions to use phys_addr_t
        arch/powerpc: Eliminate double sizeof
        powerpc/cpm2: Fix set interrupt type
        powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards
        powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts
        powerpc/83xx: Build breakage for CONFIG_PM but no CONFIG_SUSPEND
      c36c63c5
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 226b7910
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc64: Fix probe_kernel_{read,write}().
        sparc64: Kill .fixup section bloat.
        sparc64: Don't hook up pcr_ops on spitfire chips.
        sparc64: Call dump_stack() in die_nmi().
      226b7910
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 29ef0117
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (23 commits)
        bridge: Fix LRO crash with tun
        IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created.
        gianfar: Fix boot hangs while bringing up gianfar ethernet
        netfilter: xt_sctp: sctp chunk mapping doesn't work
        netfilter: ctnetlink: fix echo if not subscribed to any multicast group
        netfilter: ctnetlink: allow changing NAT sequence adjustment in creation
        netfilter: nf_conntrack_ipv6: don't track ICMPv6 negotiation message
        netfilter: fix tuple inversion for Node information request
        netxen: fix msi-x interrupt handling
        de2104x: force correct order when writing to rx ring
        tun: Fix unicast filter overflow
        drivers/isdn: introduce missing kfree
        drivers/atm: introduce missing kfree
        sunhme: Don't match PCI devices in SBUS probe.
        9p: fix endian issues [attempt 3]
        net_dma: call dmaengine_get only if NET_DMA enabled
        3c509: Fix resume from hibernation for PnP mode.
        sungem: Soft lockup in sungem on Netra AC200 when switching interface up
        RxRPC: Fix a potential NULL dereference
        r8169: Don't update statistics counters when interface is down
        ...
      29ef0117
    • Mel Gorman's avatar
      Do not account for the address space used by hugetlbfs using VM_ACCOUNT · 5a6fe125
      Mel Gorman authored
      When overcommit is disabled, the core VM accounts for pages used by anonymous
      shared, private mappings and special mappings. It keeps track of VMAs that
      should be accounted for with VM_ACCOUNT and VMAs that never had a reserve
      with VM_NORESERVE.
      
      Overcommit for hugetlbfs is much riskier than overcommit for base pages
      due to contiguity requirements. It avoids overcommiting on both shared and
      private mappings using reservation counters that are checked and updated
      during mmap(). This ensures (within limits) that hugepages exist in the
      future when faults occurs or it is too easy to applications to be SIGKILLed.
      
      As hugetlbfs makes its own reservations of a different unit to the base page
      size, VM_ACCOUNT should never be set. Even if the units were correct, we would
      double account for the usage in the core VM and hugetlbfs. VM_NORESERVE may
      be set because an application can request no reserves be made for hugetlbfs
      at the risk of getting ...
      5a6fe125
  2. Feb 10, 2009