Re: [PATCH] memory hotplug: Refuse to add unaligned memory regions

From: Andrew Morton
Date: Thu Sep 15 2011 - 03:58:30 EST


On Thu, 15 Sep 2011 06:26:15 +1000 Anton Blanchard <anton@xxxxxxxxx> wrote:

>
> 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

Then don't do that?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/