1. 10 Feb, 2009 3 commits
    • 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 killed later.
      
      With commit fc8744ad, VM_NORESERVE and
      VM_ACCOUNT are getting unconditionally set for hugetlbfs-backed mappings. This
      breaks the accounting for both the core VM and hugetlbfs, can trigger an
      OOM storm when hugepage pools are too small lockups and corrupted counters
      otherwise are used. This patch brings hugetlbfs more in line with how the
      core VM treats VM_NORESERVE but prevents VM_ACCOUNT being set.
      Signed-off-by: default avatarMel Gorman <mel@csn.ul.ie>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5a6fe125
  2. 09 Feb, 2009 37 commits