Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-25 Thread Rui Teng
On 9/23/16 7:03 PM, Gerald Schaefer wrote: On Fri, 23 Sep 2016 14:40:33 +0800 Rui Teng wrote: On 9/22/16 5:51 PM, Michal Hocko wrote: On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a list corruption and addressing exception

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-23 Thread Gerald Schaefer
On Fri, 23 Sep 2016 14:40:33 +0800 Rui Teng wrote: > On 9/22/16 5:51 PM, Michal Hocko wrote: > > On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: > >> dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > >> list corruption and addressing exception when trying to set a memory > >

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Rui Teng
On 9/22/16 5:51 PM, Michal Hocko wrote: On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a list corruption and addressing exception when trying to set a memory block offline that is part (but not the first part) of a hugetlb page

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Gerald Schaefer
On Thu, 22 Sep 2016 11:51:37 +0200 Michal Hocko wrote: > On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: > > dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > > list corruption and addressing exception when trying to set a memory > > block offline that is part (but not the f

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Michal Hocko
On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: > dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > list corruption and addressing exception when trying to set a memory > block offline that is part (but not the first part) of a hugetlb page > with a size > memory block size. >

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Hillf Danton
> > dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > list corruption and addressing exception when trying to set a memory > block offline that is part (but not the first part) of a hugetlb page > with a size > memory block size. > > When no other smaller hugetlb page sizes a

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-21 Thread Gerald Schaefer
On Wed, 21 Sep 2016 21:17:29 +0800 Rui Teng wrote: > > /* > > * Dissolve free hugepages in a given pfn range. Used by memory hotplug to > > * make specified memory blocks removable from the system. > > - * Note that start_pfn should aligned with (minimum) hugepage size. > > + * Note that thi

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-21 Thread Rui Teng
On 9/21/16 8:35 PM, Gerald Schaefer wrote: dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a list corruption and addressing exception when trying to set a memory block offline that is part (but not the first part) of a hugetlb page with a size > memory block size. When no othe

[PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-21 Thread Gerald Schaefer
dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a list corruption and addressing exception when trying to set a memory block offline that is part (but not the first part) of a hugetlb page with a size > memory block size. When no other smaller hugetlb page sizes are present, the