# Re: \[PATCH v5 7/9\] mm/mremap: Move TLB flush outside page table lock

- From: Linus Torvalds \<torvalds@linux-foundation.org\>
- Date: 2021-05-21 16:04:18 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/6508350
- Thread: https://ratatoskr.run/linux-mm/2021/04/6507523/t.md

```text
On Fri, May 21, 2021 at 3:04 AM Aneesh Kumar K.V
[ref] wrote:
>
> We could do MOVE_PMD with something like below? A equivalent MOVE_PUD
> will be costlier which makes me wonder whether we should even support that?

Well, without USE_SPLIT_PTE_PTLOCKS the pud case would be trivial too.
But everybody uses split pte locks in practice.

I get the feeling that the rmap code might have to use
pud_lock/pmd_lock. I wonder how painful that would be.

             Linus
```
