//go:build !windows package disk import ( "golang.org/x/sys/unix" ) // madviseSequential gives the OS a hint that the memory region will be // accessed sequentially. This is a no-op or best-effort on some platforms. func madviseSequential(b []byte) error { return unix.Madvise(b, unix.MADV_SEQUENTIAL) }