1. 07 Nov, 2008 2 commits
    • Li Zefan's avatar
      sched: fix a bug in sched domain degenerate · f29c9b1c
      Li Zefan authored
      Impact: re-add incorrectly eliminated sched domain layers
      
      (1) on i386 with SCHED_SMT and SCHED_MC enabled
      	# mount -t cgroup -o cpuset xxx /mnt
      	# echo 0 > /mnt/cpuset.sched_load_balance
      	# mkdir /mnt/0
      	# echo 0 > /mnt/0/cpuset.cpus
      	# dmesg
      	CPU0 attaching sched-domain:
      	 domain 0: span 0 level CPU
      	  groups: 0
      
      (2) on i386 with SCHED_MC enabled but SCHED_SMT disabled
      	# same with (1)
      	# dmesg
      	CPU0 attaching NULL sched-domain.
      
      The bug is that some sched domains may be skipped unintentionally when
      degenerating (optimizing) sched domains.
      Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
      Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      f29c9b1c
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 4bab0ea1
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        net: Fix recursive descent in __scm_destroy().
        iwl3945: fix deadlock on suspend
        iwl3945: do not send scan command if channel count zero
        iwl3945: clear scanning bits upon failure
        ath5k: correct handling of rx status fields
        zd1211rw: Add 2 device IDs
        Fix logic error in rfkill_check_duplicity
        iwlagn: avoid sleep in softirq context
        iwlwifi: clear scanning bits upon failure
        Revert "ath5k: honor FIF_BCN_PRBRESP_PROMISC in STA mode"
        tcp: Fix recvmsg MSG_PEEK influence of blocking behavior.
        netfilter: netns ct: walk netns list under RTNL
        ipv6: fix run pending DAD when interface becomes ready
        net/9p: fix printk format warnings
        net: fix packet socket delivery in rx irq handler
        xfrm: Have af-specific init_tempsel() initialize family field of temporary selector
      4bab0ea1
  2. 06 Nov, 2008 38 commits