Changeset 55253 in vbox
- Timestamp:
- Apr 14, 2015 2:56:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/alloc/memcache.cpp
r55252 r55253 226 226 pThis->pFreeTop = NULL; 227 227 228 #if 1 /* should be fixed now, enable shortly... */229 /** @todo230 * Here is a puzzler (or maybe I'm just blind), the free list code breaks231 * badly on my macbook pro (i7) (32-bit).232 *233 * I tried changing the reads from unordered to ordered to no avail. Then I234 * tried optimizing the code with the ASMAtomicCmpXchgExPtr function to235 * avoid some reads - no change. Inserting pause instructions did nothing236 * (as expected). The only thing which seems to make a difference is237 * reading the pFreeTop pointer twice in the free code... This is weird or I'm238 * overlooking something..239 *240 * No time to figure it out, so I'm disabling the broken code paths for241 * now. */242 pThis->fUseFreeList = false;243 #endif244 245 228 *phMemCache = pThis; 246 229 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.