Changeset 29608 in vbox for trunk/src/VBox
- Timestamp:
- May 18, 2010 10:02:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r29606 r29608 153 153 if (pRegion != (char *)pModule->Info.modBaseAddr) 154 154 { 155 char dummy = 0;156 155 /* Touch all pages. */ 157 156 while (pRegion < (char *)MemInfo.BaseAddress + MemInfo.RegionSize) 158 157 { 158 /* Try to trick the optimizer to leave the page touching code in place. */ 159 159 dummy += *(char *)pRegion; 160 160 pRegion += PAGE_SIZE; … … 196 196 VBoxServiceVerbose(3, "VbglR3RegisterSharedModule failed with %d\n", rc); 197 197 198 199 198 end: 200 199 RTMemFree(pVersionInfo);
Note:
See TracChangeset
for help on using the changeset viewer.