| Index: Source/wtf/TCSystemAlloc.cpp
|
| diff --git a/Source/wtf/TCSystemAlloc.cpp b/Source/wtf/TCSystemAlloc.cpp
|
| index c631fda1f5f2c0bf7b32726b3c239a30cee311e9..98ac89b81427e245f90095c795dae63f2c5ae134 100644
|
| --- a/Source/wtf/TCSystemAlloc.cpp
|
| +++ b/Source/wtf/TCSystemAlloc.cpp
|
| @@ -79,9 +79,6 @@ static bool devmem_failure = false;
|
| static bool sbrk_failure = false;
|
| static bool mmap_failure = false;
|
|
|
| -static const int32_t FLAGS_malloc_devmem_start = 0;
|
| -static const int32_t FLAGS_malloc_devmem_limit = 0;
|
| -
|
| #if HAVE(MMAP)
|
|
|
| static void* TryMmap(size_t size, size_t *actual_size, size_t alignment) {
|
| @@ -184,11 +181,6 @@ void TCMalloc_SystemRelease(void* start, size_t length)
|
| #else
|
| const int advice = MADV_DONTNEED;
|
| #endif
|
| - if (FLAGS_malloc_devmem_start) {
|
| - // It's not safe to use MADV_DONTNEED if we've been mapping
|
| - // /dev/mem for heap memory
|
| - return;
|
| - }
|
| if (pagesize == 0) pagesize = getpagesize();
|
| const size_t pagemask = pagesize - 1;
|
|
|
|
|