Re: [PATCH v2 02/10] mm/memory_hotplug: enforce section granularity when onlining/offlining

2020-09-08 Thread David Hildenbrand
On 25.08.20 04:11, Wei Yang wrote: > On Mon, Aug 24, 2020 at 12:39:18PM +0200, Oscar Salvador wrote: >> On Wed, Aug 19, 2020 at 07:59:49PM +0200, David Hildenbrand wrote: >>> Already two people (including me) tried to offline subsections, because >>> the function looks like it can deal with it. But

Re: [PATCH v2 02/10] mm/memory_hotplug: enforce section granularity when onlining/offlining

2020-08-24 Thread Wei Yang
On Mon, Aug 24, 2020 at 12:39:18PM +0200, Oscar Salvador wrote: >On Wed, Aug 19, 2020 at 07:59:49PM +0200, David Hildenbrand wrote: >> Already two people (including me) tried to offline subsections, because >> the function looks like it can deal with it. But we really can only >> online/offline ful

Re: [PATCH v2 02/10] mm/memory_hotplug: enforce section granularity when onlining/offlining

2020-08-24 Thread Oscar Salvador
On Wed, Aug 19, 2020 at 07:59:49PM +0200, David Hildenbrand wrote: > Already two people (including me) tried to offline subsections, because > the function looks like it can deal with it. But we really can only > online/offline full sections that are properly aligned (e.g., we can only > mark full

[PATCH v2 02/10] mm/memory_hotplug: enforce section granularity when onlining/offlining

2020-08-19 Thread David Hildenbrand
Already two people (including me) tried to offline subsections, because the function looks like it can deal with it. But we really can only online/offline full sections that are properly aligned (e.g., we can only mark full sections online/offline via SECTION_IS_ONLINE). Add a simple safety net to