Unconditionally un-toggle huge page failure flag when mapping was OK
@@ -350,10 +350,8 @@ MMapAllocator::salloc(size_t sz, void * wantedAddress)
}
}
} else {
- if (load_relaxed(_G_hasHugePageFailureJustHappened)) {
store_relaxed(_G_hasHugePageFailureJustHappened, false);
}
- }
#ifdef __linux__
if (sz >= _G_MMapNoCoreLimit) {
if (madvise(buf, sz, MADV_DONTDUMP) != 0) {
