1. 20 7月, 2008 4 次提交
  2. 26 6月, 2008 2 次提交
  3. 18 5月, 2008 1 次提交
    • M
      KVM: Fix kvm_vcpu_block() task state race · e5c239cf
      Marcelo Tosatti 提交于
      There's still a race in kvm_vcpu_block(), if a wake_up_interruptible()
      call happens before the task state is set to TASK_INTERRUPTIBLE:
      
      CPU0                            CPU1
      
      kvm_vcpu_block
      
      add_wait_queue
      
      kvm_cpu_has_interrupt = 0
                                      set interrupt
                                      if (waitqueue_active())
                                              wake_up_interruptible()
      
      kvm_cpu_has_pending_timer
      kvm_arch_vcpu_runnable
      signal_pending
      
      set_current_state(TASK_INTERRUPTIBLE)
      schedule()
      
      Can be fixed by using prepare_to_wait() which sets the task state before
      testing for the wait condition.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      e5c239cf
  4. 04 5月, 2008 1 次提交
  5. 02 5月, 2008 1 次提交
    • A
      [PATCH] sanitize anon_inode_getfd() · 2030a42c
      Al Viro 提交于
      a) none of the callers even looks at inode or file returned by anon_inode_getfd()
      b) any caller that would try to look at those would be racy, since by the time
      it returns we might have raced with close() from another thread and that
      file would be pining for fjords.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      2030a42c
  6. 27 4月, 2008 14 次提交
  7. 04 3月, 2008 1 次提交
  8. 09 2月, 2008 1 次提交
  9. 31 1月, 2008 5 次提交
  10. 30 1月, 2008 10 次提交