Re: [PATCH] openrisc: Call destructor during __pte_free_tlb
From: Matthew Wilcox
Date: Sun Jun 17 2018 - 18:50:58 EST
On Mon, Jun 18, 2018 at 07:12:42AM +0900, Stafford Horne wrote:
> During the __pte_free_tlb path openrisc fails to call the page
> destructor which would clear the new bits that were introduced.
> To fix this we are calling the destructor.
>
> It seem openrisc was the only architecture missing this, all other
> architectures either call the destructor like we are doing here or use
> pte_free.
It may be worth noting that failing to call the destructor was also
messing up the zone stats (and would be causing other problems if
you were using SPLIT_PTE_PTLOCKS).
At any rate, Acked-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>