Changeset 408 for trunk/kernel/mm/mapper.c
- Timestamp:
- Dec 5, 2017, 4:20:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/mapper.c
r407 r408 240 240 rwlock_wr_unlock( &mapper->lock ); 241 241 242 // deschedule towait load completion242 // wait load completion 243 243 while( 1 ) 244 244 { 245 245 // exit waiting loop when loaded 246 if( page_is_flag( page , PG_INLOAD )) break;246 if( page_is_flag( page , PG_INLOAD ) == false ) break; 247 247 248 248 // deschedule 249 sched_yield( );249 sched_yield("waiting page loading"); 250 250 } 251 251 } … … 253 253 else // page available in mapper 254 254 { 255 256 255 rwlock_rd_unlock( &mapper->lock ); 257 256 }
Note: See TracChangeset
for help on using the changeset viewer.