Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722806
| From | Jerome Glisse <jglisse@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/4] mmu_notifier semantic update |
| Date | 2017-08-29 22:20 +0200 |
| Message-ID | <ujV9o-7fs-13@gated-at.bofh.it> (permalink) |
| References | <ujV9o-7fs-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 29, 2017 at 04:11:28PM -0400, Jérôme Glisse wrote: > So we do not want to allow sleep during call to mmu_notifier_invalidate_page() > but some code do not have surrounding mmu_notifier_invalidate_range_start()/ > mmu_notifier_invalidate_range_end() or mmu_notifier_invalidate_range() > > This patch serie just make sure that there is at least a call (outside spinlock > section) to mmu_notifier_invalidate_range() after mmu_notifier_invalidate_page() > > This fix issue with AMD IOMMU v2 while avoiding to introduce issue for others > user of the mmu_notifier API. For releavent threads see: > > https://lkml.kernel.org/r/20170809204333.27485-1-jglisse@redhat.com > https://lkml.kernel.org/r/20170804134928.l4klfcnqatni7vsc@black.fi.intel.com > https://marc.info/?l=kvm&m=150327081325160&w=2 Please ignore this. Instead plan is to kill invalidate_page() switch it to invalidate_range() and make sure there is always range_start/ range_end happening around. Jérôme
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] mmu_notifier semantic update Jérôme Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200 Re: [PATCH 0/4] mmu_notifier semantic update Jerome Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200 [PATCH 4/4] iommu/amd: update to new mmu_notifier_invalidate_page() semantic Jérôme Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200 [PATCH 2/4] dax/mmu_notifier: update to new mmu_notifier semantic Jérôme Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200 [PATCH 1/4] mm/mmu_notifier: document new behavior for mmu_notifier_invalidate_page() Jérôme Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200 [PATCH 3/4] mm/rmap: update to new mmu_notifier_invalidate_page() semantic Jérôme Glisse <jglisse@redhat.com> - 2017-08-29 22:20 +0200
csiph-web