Changeset 610 for trunk/kernel/mm/ppm.h
- Timestamp:
- Dec 27, 2018, 7:38:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/ppm.h
r606 r610 62 62 * also rooted in the PPM, in order to be able to save all dirty pages on disk. 63 63 * This dirty list is protected by a specific remote_queuelock, because it can be 64 * modified by a remote thread, but it is implemented as a local list, because it 65 * contains only local pages. 64 * modified by a remote thread, but it contains only local pages. 66 65 ****************************************************************************************/ 67 66 … … 193 192 * It can be called by a thread running in any cluster. 194 193 * - it takes the queuelock protecting the PPM dirty_list. 194 * - it takes the busylock protecting the page flags. 195 195 * - it test the PG_DIRTY flag in the page descriptor. 196 196 * . if page already dirty => do nothing 197 197 * . it page not dirty => set the PG_DIRTY flag and register page in PPM dirty list. 198 * - it releases the busylock protcting the page flags. 198 199 * - it releases the queuelock protecting the PPM dirty_list. 199 200 ***************************************************************************************** … … 207 208 * It can be called by a thread running in any cluster. 208 209 * - it takes the queuelock protecting the PPM dirty_list. 210 * - it takes the busylock protecting the page flags. 209 211 * - it test the PG_DIRTY flag in the page descriptor. 210 212 * . if page not dirty => do nothing 211 213 * . it page dirty => reset the PG_DIRTY flag and remove page from PPM dirty list. 214 * - it releases the busylock protcting the page flags. 212 215 * - it releases the queuelock protecting the PPM dirty_list. 213 216 *****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.