Changes between Version 16 and Version 17 of kernel_locks
- Timestamp:
- Jul 17, 2015, 11:45:05 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_locks
v16 v17 15 15 All the lock access functions are prefixed by "_" to remind that they can only be executed by a processor in kernel mode. 16 16 17 The '''simple_lock_t''', '''s bt_lock_t''', and '''spin_lock_t''' structures are implemented to have one single lock in a 64 bytes cache line, and should be aligned on a cache line boundary.17 The '''simple_lock_t''', '''spin_lock_t''', and '''sqt_lock_t''' structures are implemented to have one single lock in a 64 bytes cache line, and should be aligned on a cache line boundary. 18 18 19 19 == Atomic access function ==