1. 24 12月, 2008 2 次提交
    • D
      dlm: remove extra blocking callback check · 03339696
      David Teigland 提交于
      Just before delivering a blocking callback (bast), the dlm_astd
      thread checks again that the granted mode of the lkb actually
      blocks the mode requested by the bast.  The idea behind this was
      originally that the granted mode may have changed since the bast
      was queued, making the callback now unnecessary.  Reasons for
      removing this extra check are:
      - dlm_astd doesn't lock the rsb before reading the lkb grmode, so
        it's not technically safe (this removes the long standing FIXME)
      - after running some tests, it doesn't appear the check ever actually
        eliminates a bast
      - delivering an unnecessary blocking callback isn't a bad thing and
        can happen anyway
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      03339696
    • S
      dlm: replace schedule with cond_resched · d61e9aac
      Steven Whitehouse 提交于
      This is a one-liner to use cond_resched() rather than schedule()
      in the ast delivery loop. It should not be necessary to schedule
      every time, so this will save some cpu time while continuing to
      allow scheduling when required.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      d61e9aac
  2. 06 2月, 2008 1 次提交
  3. 01 5月, 2007 1 次提交
  4. 24 8月, 2006 1 次提交
  5. 13 7月, 2006 1 次提交
  6. 20 1月, 2006 1 次提交
  7. 18 1月, 2006 1 次提交