summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-09-15 06:26:15 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 16:21:14 -0700
commit61b94feafa1c59a1de2719d23294dea6fd4ca362 (patch)
tree989d491d284c415bb946084bee70069fa813245d /tools
parent220c1ed1bd64b26a2edcd59ca9ff031e1b880727 (diff)
downloadop-kernel-dev-61b94feafa1c59a1de2719d23294dea6fd4ca362.zip
op-kernel-dev-61b94feafa1c59a1de2719d23294dea6fd4ca362.tar.gz
memory hotplug: Refuse to add unaligned memory regions
The sysfs memory probe interface allows unaligned regions to be added: # echo 0xffffff > /sys/devices/system/memory/probe # cat /proc/iomem 00ffffff-01fffffe : System RAM 01ffffff-02fffffe : System RAM 02ffffff-03fffffe : System RAM 03ffffff-04fffffe : System RAM 04ffffff-05fffffe : System RAM Return -EINVAL instead of creating these bad regions. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud