Re: [PATCH v2 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-26 Thread KOSAKI Motohiro
> Hi KOSAKI, > Could you please help to give more information on the background > about why 32bit platforms with highmem can't support memory hot-removal? It doesn't impossible. Just nobody did. I was playing these code as a maintainer a while and I saw all of patches doesn't handle highme

Re: [PATCH v2 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-26 Thread Liu Jiang
On 05/26/2013 09:16 AM, KOSAKI Motohiro wrote: >> --- >> mm/page_alloc.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index 98cbdf6..23b921f 100644 >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -6140,6 +6140,8 @@ __offline_isolated_pa

Re: [PATCH v2 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-25 Thread KOSAKI Motohiro
(5/25/13 9:23 PM), Wanpeng Li wrote: > Hi KOSAKI, > On Sat, May 25, 2013 at 09:16:24PM -0400, KOSAKI Motohiro wrote: >>> --- >>> mm/page_alloc.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >>> index 98cbdf6..23b921f 100644 >>> --- a/mm/page_al

Re: [PATCH v2 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-25 Thread KOSAKI Motohiro
> --- > mm/page_alloc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 98cbdf6..23b921f 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -6140,6 +6140,8 @@ __offline_isolated_pages(unsigned long start_pfn, > unsigned long end_pfn)

[PATCH v2 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-23 Thread Wanpeng Li
Changelog: v1 -> v2: * show number of HighTotal before hotremove * remove CONFIG_HIGHMEM * cc stable kernels * add Michal reviewed-by Logic memory-remove code fails to correctly account the Total High Memory when a memory block which contains High Memory is offli