Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-18 Thread Pavel Machek
On Thu 2019-01-17 23:48:30, Edgecombe, Rick P wrote: > On Fri, 2019-01-18 at 00:41 +0100, Pavel Machek wrote: > > Hi! > > > > > > > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be > > > > > unmapped > > > > > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not > > > >

Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-17 Thread Edgecombe, Rick P
On Fri, 2019-01-18 at 00:41 +0100, Pavel Machek wrote: > Hi! > > > > > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be unmapped > > > > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not > > > > configured. > > > > So this changes kernel_map_pages and kernel_page_pres

Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-17 Thread Pavel Machek
Hi! > > > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be unmapped > > > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not > > > configured. > > > So this changes kernel_map_pages and kernel_page_present to be defined > > > when > > > CONFIG_ARCH_HAS_SET_ALIAS is de

Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-17 Thread Edgecombe, Rick P
On Thu, 2019-01-17 at 10:39 +0100, Pavel Machek wrote: > Hi! > > > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be unmapped > > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not > > configured. > > So this changes kernel_map_pages and kernel_page_present to be define

Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-17 Thread Pavel Machek
Hi! > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be unmapped > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not configured. > So this changes kernel_map_pages and kernel_page_present to be defined when > CONFIG_ARCH_HAS_SET_ALIAS is defined as well. It also change