Skip to content

Commit

Permalink
remove superfluous syscall.sysctl
Browse files Browse the repository at this point in the history
  • Loading branch information
petebristow committed Apr 27, 2016
1 parent 519311b commit 5d6baa4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/memory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ function reserve_new_page ()
local have = tonumber(lib.firstline("/proc/sys/vm/nr_hugepages"))
local want = have + 1
lib.writefile("/proc/sys/vm/nr_hugepages", tostring(want))
syscall.sysctl("vm.nr_hugepages", tostring(want))
io.write("[memory: Provisioned a huge page: sysctl vm.nr_hugepages ", have, " -> ", want, "]\n")
end
end
Expand Down

0 comments on commit 5d6baa4

Please sign in to comment.