[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110915063543.GA29211@suse.de>
Date: Thu, 15 Sep 2011 08:35:43 +0200
From: Greg KH <gregkh@...e.de>
To: Anton Blanchard <anton@...ba.org>
Cc: nfont@...tin.ibm.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] memory hotplug: Refuse to add unaligned memory regions
On Thu, Sep 15, 2011 at 06:26:15AM +1000, Anton Blanchard 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
>
> Return -EINVAL instead of creating these bad regions.
>
> Signed-off-by: Anton Blanchard <anton@...ba.org>
> ---
Is this something that should go into 3.1 and older kernels to properly
handle this type of error?
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists