Skip to content
  1. Oct 28, 2008
    • Neil Horman's avatar
      net: implement emergency route cache rebulds when gc_elasticity is exceeded · 1080d709
      Neil Horman authored
      
      
      This is a patch to provide on demand route cache rebuilding.  Currently, our
      route cache is rebulid periodically regardless of need.  This introduced
      unneeded periodic latency.  This patch offers a better approach.  Using code
      provided by Eric Dumazet, we compute the standard deviation of the average hash
      bucket chain length while running rt_check_expire.  Should any given chain
      length grow to larger that average plus 4 standard deviations, we trigger an
      emergency hash table rebuild for that net namespace.  This allows for the common
      case in which chains are well behaved and do not grow unevenly to not incur any
      latency at all, while those systems (which may be being maliciously attacked),
      only rebuild when the attack is detected.  This patch take 2 other factors into
      account:
      1) chains with multiple entries that differ by attributes that do not affect the
      hash value are only counted once, so as not to unduly bias system to rebuilding
      if features like QOS are heavily used
      2) if rebuilding crosses a certain threshold (which is adjustable via the added
      sysctl in this patch), route caching is disabled entirely for that net
      namespace, since constant rebuilding is less efficient that no caching at all
      
      Tested successfully by me.
      
      Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1080d709
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · 1d63e726
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
        firewire: fw-sbp2: fix races
        firewire: fw-sbp2: delay first login to avoid retries
        firewire: fw-ohci: initialization failure path fixes
        firewire: fw-ohci: don't leak dma memory on module removal
        firewire: fix struct fw_node memory leak
        firewire: Survive more than 256 bus resets
      1d63e726
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 31390d0f
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: ASoC: Blackfin: update SPORT0 port selector (v2)
        ALSA: hda - Restore default pin configs for realtek codecs
        sound: use a common working email address
        pci: use pci_ioremap_bar() in sound/
      31390d0f
    • Takashi Iwai's avatar
      Merge branches 'topic/fix/asoc', 'topic/fix/hda', 'topic/fix/misc' and... · 0a9b8638
      Takashi Iwai authored
      Merge branches 'topic/fix/asoc', 'topic/fix/hda', 'topic/fix/misc' and 'topic/pci-ioremap-bar' into for-linus
      0a9b8638
    • Cliff Cai's avatar
      ALSA: ASoC: Blackfin: update SPORT0 port selector (v2) · c3e5203b
      Cliff Cai authored
      
      
      - Setting the TFS pin selector for SPORT 0 based on whether the selected
        port id F or G. If the port is F then no conflict should exist for the
        TFS. When Port G is selected and EMAC then there is a conflict between
        the PHY interrupt line and TFS.  Current settings prevent the conflict
        by ignoring the TFS pin when Port G is selected. This allows both
        ssm2602 using Port G and EMAC concurrently.
      
       - some code cleanup
      
      Signed-off-by: default avatarCliff Cai <cliff.cai@analog.com>
      Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
      Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c3e5203b
  2. Oct 27, 2008