Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-30 Thread David Hildenbrand
On 29.04.2018 23:08, Michal Hocko wrote: > On Sun 22-04-18 17:13:52, David Hildenbrand wrote: >> On 22.04.2018 16:02, Matthew Wilcox wrote: >>> On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: On 22.04.2018 05:01, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-30 Thread David Hildenbrand
On 29.04.2018 23:08, Michal Hocko wrote: > On Sun 22-04-18 17:13:52, David Hildenbrand wrote: >> On 22.04.2018 16:02, Matthew Wilcox wrote: >>> On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: On 22.04.2018 05:01, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-29 Thread Michal Hocko
On Sun 22-04-18 17:13:52, David Hildenbrand wrote: > On 22.04.2018 16:02, Matthew Wilcox wrote: > > On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: > >> On 22.04.2018 05:01, Matthew Wilcox wrote: > >>> On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: >

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-29 Thread Michal Hocko
On Sun 22-04-18 17:13:52, David Hildenbrand wrote: > On 22.04.2018 16:02, Matthew Wilcox wrote: > > On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: > >> On 22.04.2018 05:01, Matthew Wilcox wrote: > >>> On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: >

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread David Hildenbrand
On 22.04.2018 16:02, Matthew Wilcox wrote: > On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: >> On 22.04.2018 05:01, Matthew Wilcox wrote: >>> On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: Sounds like your newly introduced "page types" could be useful

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread David Hildenbrand
On 22.04.2018 16:02, Matthew Wilcox wrote: > On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: >> On 22.04.2018 05:01, Matthew Wilcox wrote: >>> On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: Sounds like your newly introduced "page types" could be useful

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread Matthew Wilcox
On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: > On 22.04.2018 05:01, Matthew Wilcox wrote: > > On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: > >> Sounds like your newly introduced "page types" could be useful here? I > >> don't suppose those offline pages

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread Matthew Wilcox
On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: > On 22.04.2018 05:01, Matthew Wilcox wrote: > > On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: > >> Sounds like your newly introduced "page types" could be useful here? I > >> don't suppose those offline pages

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread David Hildenbrand
On 22.04.2018 05:01, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: >> On 04/13/2018 07:11 PM, Matthew Wilcox wrote: >>> On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: online_pages()/offline_pages() theoretically allows us to work

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-22 Thread David Hildenbrand
On 22.04.2018 05:01, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: >> On 04/13/2018 07:11 PM, Matthew Wilcox wrote: >>> On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: online_pages()/offline_pages() theoretically allows us to work

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Matthew Wilcox
On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: > On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: > >> online_pages()/offline_pages() theoretically allows us to work on > >> sub-section sizes. This is especially

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Matthew Wilcox
On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: > On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: > >> online_pages()/offline_pages() theoretically allows us to work on > >> sub-section sizes. This is especially

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Vlastimil Babka
On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Vlastimil Babka
On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-20 Thread David Hildenbrand
On 13.04.2018 15:16, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. > > While the whole

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-20 Thread David Hildenbrand
On 13.04.2018 15:16, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. > > While the whole

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-17 Thread David Hildenbrand
On 13.04.2018 15:40, Michal Hocko wrote: > On Fri 13-04-18 15:16:26, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to add/remove memory to Linux

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-17 Thread David Hildenbrand
On 13.04.2018 15:40, Michal Hocko wrote: > On Fri 13-04-18 15:16:26, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to add/remove memory to Linux

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-16 Thread David Hildenbrand
On 13.04.2018 19:11, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-16 Thread David Hildenbrand
On 13.04.2018 19:11, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread Matthew Wilcox
On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. > >

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread Matthew Wilcox
On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. > >

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread David Hildenbrand
On 13.04.2018 15:40, Michal Hocko wrote: > On Fri 13-04-18 15:16:26, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to add/remove memory to Linux

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread David Hildenbrand
On 13.04.2018 15:40, Michal Hocko wrote: > On Fri 13-04-18 15:16:26, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to add/remove memory to Linux

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 15:16:26, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. Well, theoretically

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 15:16:26, David Hildenbrand wrote: > online_pages()/offline_pages() theoretically allows us to work on > sub-section sizes. This is especially relevant in the context of > virtualization. It e.g. allows us to add/remove memory to Linux in a VM in > 4MB chunks. Well, theoretically

[PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread David Hildenbrand
online_pages()/offline_pages() theoretically allows us to work on sub-section sizes. This is especially relevant in the context of virtualization. It e.g. allows us to add/remove memory to Linux in a VM in 4MB chunks. While the whole section is marked as online/offline, we have to know the state

[PATCH RFC 2/8] mm: introduce PG_offline

2018-04-13 Thread David Hildenbrand
online_pages()/offline_pages() theoretically allows us to work on sub-section sizes. This is especially relevant in the context of virtualization. It e.g. allows us to add/remove memory to Linux in a VM in 4MB chunks. While the whole section is marked as online/offline, we have to know the state