ed4a6d7f06
Add a per-node sysfs file called compact. When the file is written to, each zone in that node is compacted. The intention that this would be used by something like a job scheduler in a batch system before a job starts so that the job can allocate the maximum number of hugepages without significant start-up cost. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Acked-by: Rik van Riel <riel@redhat.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Christoph Lameter <cl@linux-foundation.org> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
debugfs-kmemtrace | ||
debugfs-pktcdvd | ||
ima_policy | ||
procfs-diskstats | ||
sysfs-block | ||
sysfs-bus-css | ||
sysfs-bus-pci | ||
sysfs-bus-pci-devices-cciss | ||
sysfs-bus-umc | ||
sysfs-bus-usb | ||
sysfs-bus-usb-devices-usbsevseg | ||
sysfs-c2port | ||
sysfs-class | ||
sysfs-class-bdi | ||
sysfs-class-lcd | ||
sysfs-class-led | ||
sysfs-class-mtd | ||
sysfs-class-pktcdvd | ||
sysfs-class-power | ||
sysfs-class-regulator | ||
sysfs-class-uwb_rc | ||
sysfs-class-uwb_rc-wusbhc | ||
sysfs-dev | ||
sysfs-devices | ||
sysfs-devices-memory | ||
sysfs-devices-node | ||
sysfs-devices-platform-_UDC_-gadget | ||
sysfs-devices-power | ||
sysfs-devices-system-cpu | ||
sysfs-driver-hid-picolcd | ||
sysfs-driver-hid-prodikeys | ||
sysfs-driver-hid-roccat-kone | ||
sysfs-firmware-acpi | ||
sysfs-firmware-memmap | ||
sysfs-firmware-sgi_uv | ||
sysfs-fs-ext4 | ||
sysfs-gpio | ||
sysfs-ibft | ||
sysfs-kernel-mm | ||
sysfs-kernel-mm-hugepages | ||
sysfs-kernel-slab | ||
sysfs-kernel-uids | ||
sysfs-memory-page-offline | ||
sysfs-ocfs2 | ||
sysfs-platform-asus-laptop | ||
sysfs-platform-eeepc-laptop | ||
sysfs-power | ||
sysfs-pps | ||
sysfs-profiling | ||
sysfs-wacom | ||
sysfs-wusb_cbaf |