aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPetr Holasek <[email protected]>2011-03-22 16:33:05 -0700
committerLinus Torvalds <[email protected]>2011-03-22 17:44:04 -0700
commitc033a93c0d961fc7ec5b0872649143e061d97dd4 (patch)
tree06d037d837bb493b08e306a605b393c9f67d175f /tools/perf/scripts/python/netdev-times.py
parent8afdcece4911e51cfff2b50a269418914cab8a3f (diff)
hugetlbfs: correct handling of negative input to /proc/sys/vm/nr_hugepages
When the user inserts a negative value into /proc/sys/vm/nr_hugepages it will cause the kernel to allocate as many hugepages as possible and to then update /proc/meminfo to reflect this. This changes the behavior so that the negative input will result in nr_hugepages value being unchanged. Signed-off-by: Petr Holasek <[email protected]> Signed-off-by: Anton Arapov <[email protected]> Reviewed-by: Naoya Horiguchi <[email protected]> Acked-by: David Rientjes <[email protected]> Acked-by: Mel Gorman <[email protected]> Acked-by: Eric B Munson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions