- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sysNoHugePageOS (0.1 sec)
-
src/runtime/mem_linux.go
if beg < end { madvise(unsafe.Pointer(beg), end-beg, _MADV_HUGEPAGE) } } } func sysNoHugePageOS(v unsafe.Pointer, n uintptr) { if uintptr(v)&(physPageSize-1) != 0 { // The Linux implementation requires that the address // addr be page-aligned, and allows length to be zero. throw("unaligned sysNoHugePageOS") } madvise(v, n, _MADV_NOHUGEPAGE) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5K bytes - Viewed (0)