diff options
Diffstat (limited to 'src/runtime/mpagealloc.go')
| -rw-r--r-- | src/runtime/mpagealloc.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go index ed53a5672b..3e789ab85c 100644 --- a/src/runtime/mpagealloc.go +++ b/src/runtime/mpagealloc.go @@ -426,11 +426,6 @@ func (p *pageAlloc) grow(base, size uintptr) { // we need to ensure this newly-free memory is visible in the // summaries. p.update(base, size/pageSize, true, false) - - // Mark all new memory as huge page eligible. - if !p.test { - sysHugePage(unsafe.Pointer(base), size) - } } // enableChunkHugePages enables huge pages for the chunk bitmap mappings (disabled by default). |
