| The Linux Kernel API | ||
|---|---|---|
| <<< Previous | Next >>> | |
clear_bit is atomic and may not be reordered. However, it does not contain a memory barrier, so if it is used for locking purposes, you should call smp_mb__before_clear_bit and/or smp_mb__after_clear_bit in order to ensure changes are visible on other processors.
| <<< Previous | Home | Next >>> |
| __set_bit | Up | __change_bit |