1. 20 Dec, 2012 6 commits
    • Zlatko Calusic's avatar
      mm: do not sleep in balance_pgdat if there's no i/o congestion · cda73a10
      Zlatko Calusic authored
      On a 4GB RAM machine, where Normal zone is much smaller than DMA32 zone,
      the Normal zone gets fragmented in time.  This requires relatively more
      pressure in balance_pgdat to get the zone above the required watermark.
      Unfortunately, the congestion_wait() call in there slows it down for a
      completely wrong reason, expecting that there's a lot of
      writeback/swapout, even when there's none (much more common).  After a
      few days, when fragmentation progresses, this flawed logic translates to
      a very high CPU iowait times, even though there's no I/O congestion at
      all.  If THP is enabled, the problem occurs sooner, but I was able to
      see it even on !THP kernels, just by giving it a bit more time to occur.
      
      The proper way to deal with this is to not wait, unless there's
      congestion.  Thanks to Mel Gorman, we already have the function that
      perfectly fits the job.  The patch was tested on a machine which nicely
      revealed the problem after only 1 day of uptime, and it's been working
      great.
      Signed-off-by: default avatarZlatko Calusic <zlatko.calusic@iskon.hr>
      Acked-by: default avatarMel Gorman <mgorman@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cda73a10
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · f01af9f8
      Linus Torvalds authored
      Pull sparc fixes from David Miller:
       "Please pull to get these sparc AES/DES/CAMELLIA crypto bug fixes as
        well as an addition of a pte_accessible() define for sparc64 and a
        hugetlb fix from Dave Kleikamp."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc64: Set CRYPTO_TFM_REQ_MAY_SLEEP consistently in CAMELLIA code.
        sparc64: Set CRYPTO_TFM_REQ_MAY_SLEEP consistently in DES code.
        sparc64: Fix ECB looping constructs in AES code.
        sparc64: Set CRYPTO_TFM_REQ_MAY_SLEEP consistently in AES code.
        sparc64: Fix AES ctr mode block size.
        sparc64: Fix unrolled AES 256-bit key loops.
        sparc64: Define pte_accessible()
        sparc: huge_ptep_set_* functions need to call set_huge_pte_at()
      f01af9f8
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 9eb127cc
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Really fix tuntap SKB use after free bug, from Eric Dumazet.
      
       2) Adjust SKB data pointer to point past the transport header before
          calling icmpv6_notify() so that the headers are in the state which
          that function expects.  From Duan Jiong.
      
       3) Fix ambiguities in the new tuntap multi-queue APIs.  From Jason
          Wang.
      
       4) mISDN needs to use del_timer_sync(), from Konstantin Khlebnikov.
      
       5) Don't destroy mutex after freeing up device private in mac802154,
          fix also from Konstantin Khlebnikov.
      
       6) Fix INET request socket leak in TCP and DCCP, from Christoph Paasch.
      
       7) SCTP HMAC kconfig rework, from Neil Horman.
      
       8) Fix SCTP jprobes function signature, otherwise things explode, from
          Daniel Borkmann.
      
       9) Fix typo in ipv6-offload Makefile variable reference, from Simon
          Arlott.
      
      10) Don't fail USBNET open just because remote wakeup isn't supported,
          from Oliver Neukum.
      
      11) be2net driver bug fixes from Sathya Perla.
      
      12) SOLOS PCI ATM driver bug fixes from Nathan Williams and David
          Woodhouse.
      
      13) Fix MTU changing regression in 8139cp driver, from John Greene.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (45 commits)
        solos-pci: ensure all TX packets are aligned to 4 bytes
        solos-pci: add firmware upgrade support for new models
        solos-pci: remove superfluous debug output
        solos-pci: add GPIO support for newer versions on Geos board
        8139cp: Prevent dev_close/cp_interrupt race on MTU change
        net: qmi_wwan: add ZTE MF880
        drivers/net: Use of_match_ptr() macro in smsc911x.c
        drivers/net: Use of_match_ptr() macro in smc91x.c
        ipv6: addrconf.c: remove unnecessary "if"
        bridge: Correctly encode addresses when dumping mdb entries
        bridge: Do not unregister all PF_BRIDGE rtnl operations
        use generic usbnet_manage_power()
        usbnet: generic manage_power()
        usbnet: handle PM failure gracefully
        ksz884x: fix receive polling race condition
        qlcnic: update driver version
        qlcnic: fix unused variable warnings
        net: fec: forbid FEC_PTP on SoCs that do not support
        be2net: fix wrong frag_idx reported by RX CQ
        be2net: fix be_close() to ensure all events are ack'ed
        ...
      9eb127cc
    • Linus Torvalds's avatar
      Merge tags 'dt-for-linus', 'gpio-for-linus' and 'spi-for-linus' of... · e3279550
      Linus Torvalds authored
      Merge tags 'dt-for-linus', 'gpio-for-linus' and 'spi-for-linus' of git://git.secretlab.ca/git/linux-2.6
      
      Pull devicetree, gpio and spi bugfixes from Grant Likely:
       "Device tree v3.8 bug fix:
         - Fixes an undefined struct device build error and a missing symbol
           export.
      
        GPIO device driver bug fixes:
         - gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG
         - gpio/ich: Add missing spinlock init
      
        SPI device driver bug fixes:
         - Most of this is bug fixes to the core code and the sh-hspi and
           s3c64xx device drivers.
      
         - There is also a patch here to add DT support to the Atmel driver.
           This one should have been in the first round, but I missed it.
           It's a low risk change contained within a single driver and the
           Atmel maintainer has requested it."
      
      * tag 'dt-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
        of: Fix export of of_find_matching_node_and_match()
      
      * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG
        gpio/ich: Add missing spinlock init
      
      * tag 'spi-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        spi/sh-hspi: fix return value check in hspi_probe().
        spi: fix tegra SPI binding examples
        spi/atmel: add DT support
        of/spi: Fix SPI module loading by using proper "spi:" modalias prefixes.
        spi: Change FIFO flush operation and spi channel off
        spi: Keep chipselect assertion during one message
      e3279550
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · dcd6a97d
      Linus Torvalds authored
      Pull drm bugfix from Dave Airlie:
       "Just a single urgent regression fix, seeing a few wierd behaviours I'd
        like not to persist."
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux:
        drm/ttm: fix delayed ttm_bo_cleanup_refs_and_unlock delayed handling
      dcd6a97d
    • Linus Torvalds's avatar
      Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random · 7005cd39
      Linus Torvalds authored
      Pull random updates from Ted Ts'o:
       "A few /dev/random improvements for the v3.8 merge window."
      
      * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
        random: Mix cputime from each thread that exits to the pool
        random: prime last_data value per fips requirements
        random: fix debug format strings
        random: make it possible to enable debugging without rebuild
      7005cd39
  2. 19 Dec, 2012 34 commits