Changeset 2057572 in mainline for kernel/generic/src/mm/backend_anon.c
- Timestamp:
- 2007-03-27T23:40:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 399ece9
- Parents:
- 8d37a06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_anon.c
r8d37a06 r2057572 158 158 panic("Could not insert used space.\n"); 159 159 160 #ifdef CONFIG_VIRT_IDX_DCACHE161 if (dirty && PAGE_COLOR(PA2KA(frame)) != PAGE_COLOR(addr)) {162 /*163 * By writing to the frame using kernel virtual address,164 * we have created an illegal virtual alias. We now have to165 * invalidate cachelines belonging to addr on all processors166 * so that they will be reloaded with the new content on next167 * read.168 */169 dcache_flush_frame(addr, frame);170 dcache_shootdown_start(DCACHE_INVL_FRAME, PAGE_COLOR(addr), frame);171 dcache_shootdown_finalize();172 }173 #endif174 175 160 return AS_PF_OK; 176 161 } … … 241 226 /** @} 242 227 */ 243
Note:
See TracChangeset
for help on using the changeset viewer.