go fmt was here, no functional change

This commit is contained in:
Sean Chittenden 2016-04-05 12:18:45 -07:00
parent ec64c912be
commit e0412df05d

View file

@ -3,15 +3,16 @@
package mlock
import (
"syscall"
"golang.org/x/sys/unix"
"syscall"
"golang.org/x/sys/unix"
)
func init() {
supported = true
supported = true
}
func lockMemory() error {
// Mlockall prevents all current and future pages from being swapped out.
return unix.Mlockall(syscall.MCL_CURRENT | syscall.MCL_FUTURE)
// Mlockall prevents all current and future pages from being swapped out.
return unix.Mlockall(syscall.MCL_CURRENT | syscall.MCL_FUTURE)
}