You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GC] Remove asserts for when calling madvise for huge pages fails. (#425)
The kernel doesn't always support MADV_HUGEPAGE or MADV_NOHUGEPAGE. In
particular, the man page for madvise says:
```
The MADV_HUGEPAGE, MADV_NOHUGEPAGE, and MADV_COLLAPSE
operations are available only if the kernel was configured
with CONFIG_TRANSPARENT_HUGEPAGE
```
Since the madvise call doesn't have any material affect on the
allocator, it's just advice on how to organize the page tables as an
optimization for resident memory reduction, we can just ignore the
error.
0 commit comments