Re: [PATCH v5 1/7] KVM: arm/arm64: Share common code in user_mem_abort()

2018-07-11 Thread Suzuki K Poulose
On 09/07/18 15:41, Punit Agrawal wrote: The code for operations such as marking the pfn as dirty, and dcache/icache maintenance during stage 2 fault handling is duplicated between normal pages and PMD hugepages. Instead of creating another copy of the operations when we introduce PUD hugepages,

[PATCH v5 1/7] KVM: arm/arm64: Share common code in user_mem_abort()

2018-07-09 Thread Punit Agrawal
The code for operations such as marking the pfn as dirty, and dcache/icache maintenance during stage 2 fault handling is duplicated between normal pages and PMD hugepages. Instead of creating another copy of the operations when we introduce PUD hugepages, let's share them across the different