[CSE]  Advanced Operating Systems 
 COMP9242 2002/S2 
UNSW

PRINTER Printer-Friendly Version
Administration               
- Notices
- Course Intro
- Consultations
# On-line Survey (closed)
- Survey Results
 
Work
- Lectures
- Milestone 0
- Project Admin
- Project Spec
- Project FAQ
- Exam
 
Documentation
- ASysT Lab
- L4 source browser
- Sulima ISA Simulator
R4x00 ISA Summary 
MIPS R4700 ReferenceMIPS R4000 User Manual 
- Network Driver
- GT64111
 
Related Info
- Aurema OS Prize
- OS Hall of Fame
 
History
- 2000
- 1999
- 1998
 
Staff
- Gernot Heiser (LiC)

 
Valid HTML 4.0!
next up previous
Next: Memory Models: Strong Ordering Up: 10-smp Previous: Locking: Performance Considerations

Subsections

Effects of Memory Architecture

Example: end of a critical section

/* counter++; */
load r1, counter
add r1, r1, 1
store r1, counter
/* unlock(mutex); */
store zero, mutex
Relies on all CPUs seeing update of counter before update of mutex.

  • Depends on proper ordering of stores to memory.



Gernot Heiser 2002-10-11