[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <533C362E.1020605@intel.com>
Date: Wed, 02 Apr 2014 09:09:18 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Li Zhong <zhong@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>
CC: nfont@...ux.vnet.ibm.com, gregkh@...uxfoundation.org
Subject: Re: [RFC PATCH] memory driver: make phys_index/end_phys_index reflect
the start/end section number
On 04/02/2014 01:56 AM, Li Zhong wrote:
> I noticed the phys_index and end_phys_index under
> /sys/devices/system/memory/memoryXXX/ have the same value, e.g.
> (for the test machine, one memory block has 8 sections, that is
> sections_per_block equals 8)
>
> # cd /sys/devices/system/memory/memory100/
> # cat phys_index end_phys_index
> 00000064
> 00000064
>
> Seems they should reflect the start/end section number respectively, which
> also matches what is said in Documentation/memory-hotplug.txt
This changes a user-visible interface. Won't this break userspace?
--
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