Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sparc/sparc



Module Name:    src
Committed By:   ad
Date:           Thu Feb 15 22:49:35 UTC 2007

Modified Files:
        src/sys/arch/sparc/sparc: lock_stubs.s

Log Message:
- mutex_exit(): call mutex_wakeup() if there are waiters, since we have
  already released the lock when we reach the waiters check.
- mutex_enter(): denote the start and end of the critical and export
  labels. If an LWP is preempted after grabbing the interlock, the dummy
  owner value (0xff000000) will persist, but the real owner value must be
  set soon to prevent deadlock. On entry to interrupt we'll need to check
  for this and set in the correct value if the LWP was interrupted in the
  critical section.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/sparc/sparc/lock_stubs.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index