linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] munmap() vs unmap_mapping_range()
@ 2022-07-08  7:18 Peter Zijlstra
  2022-07-08  7:18 ` [PATCH 1/4] mmu_gather: Remove per arch tlb_{start,end}_vma() Peter Zijlstra
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Peter Zijlstra @ 2022-07-08  7:18 UTC (permalink / raw)
  To: Jann Horn, Linus Torvalds, Will Deacon
  Cc: linux-kernel, linux-mm, peterz, Dave Airlie, Daniel Vetter,
	Andrew Morton, Guo Ren, David Miller

Hi,

These 4 patches implement the suggestion by Linus.

The first patch nukes all architecture implementations of tlb_{start,end}_vma()
by adding two additional MMU_GATHER config knobs.

DaveM, please clarify the sparc64 case, it seems a little odd to have
flush_cache_range() but to explicitly not call it at unmap time. It would be
nice to remove this one special case.

The second patch isn't strictly needed for this series but since I was looking
at all this, I figured C-SKY didn't make a whole lot of sense. Guo, please
have a look.

The third patch cleans up the #ifdeffery and provides a single
tlb_{start,end}_vma() implementation for everyone.

The fourth, and final, patch does the force TLB-flush on VM_PFNMAP thing.

I've had the first three patches exposed to the robots and they've (so far) not
reported build (or other) fail.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-07-21 17:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08  7:18 [PATCH 0/4] munmap() vs unmap_mapping_range() Peter Zijlstra
2022-07-08  7:18 ` [PATCH 1/4] mmu_gather: Remove per arch tlb_{start,end}_vma() Peter Zijlstra
2022-07-08 13:25   ` Will Deacon
2022-07-08  7:18 ` [PATCH 2/4] csky/tlb: Remove tlb_flush() define Peter Zijlstra
2022-07-08 13:31   ` Will Deacon
2022-07-08  7:18 ` [PATCH 3/4] mmu_gather: Let there be one tlb_{start,end}_vma() implementation Peter Zijlstra
2022-07-08 13:32   ` Will Deacon
2022-07-08  7:18 ` [PATCH 4/4] mmu_gather: Force tlb-flush VM_PFNMAP vmas Peter Zijlstra
2022-07-08 13:36   ` Will Deacon
2022-07-08 14:03     ` Peter Zijlstra
2022-07-08 14:04   ` Jann Horn
2022-07-09  8:38     ` Peter Zijlstra
2022-07-11 15:04       ` Jann Horn
2022-07-21  8:37 ` [PATCH 0/4] munmap() vs unmap_mapping_range() Peter Zijlstra
2022-07-21 17:46   ` Linus Torvalds
2022-07-21 17:52     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).