but without a backend.
After the patch, we can expect that some functions in frontswap.c are called
only when frontswap_ops is non-NULL. Change the checks there to VM_BUG_ONs.
While at it, convert other BUG_ONs to VM_BUG_ONs as frontswap has been stable
for some time.
Signed-off-by: Vlastimil Bab
: implicit declaration of function
'BUILD_BUG_ON_INVALID' [-Werror=implicit-function-declaration]
VM_WARN_ONCE(!pte_young(pte),
Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
Acked-by: Vlastimil Babka <vba...@suse.cz>
---
include/linux/mmdebug.h | 1 +
1 file changed,
On 08/06/2015 03:02 PM, Juergen Gross wrote:
On 08/06/2015 02:46 PM, Vlastimil Babka wrote:
On 07/17/2015 06:51 AM, Juergen Gross wrote:
... and here for !CONFIG_MMU.
So, what about CONFIG_MMU !FIXMAP_PAGE_RO combinations? Which
translates to CONFIG_MMU !PAGE_KERNEL_RO. Maybe they don't
On 07/17/2015 06:51 AM, Juergen Gross wrote:
During early boot as Xen pv domain the kernel needs to map some page
tables supplied by the hypervisor read only. This is needed to be
able to relocate some data structures conflicting with the physical
memory map especially on systems with huge RAM