Re: [PATCH v4 00/15] follow_pfn and other iomap races

2020-10-29 Thread Daniel Vetter
On Thu, Oct 29, 2020 at 10:28 AM Christoph Hellwig wrote: > > On Thu, Oct 29, 2020 at 10:25:16AM +0100, Daniel Vetter wrote: > > On Thu, Oct 29, 2020 at 9:57 AM Christoph Hellwig > > wrote: > > > > > > Maybe I'm missing something, but shouldn't follow_pfn be unexported > > > at the end of the se

Re: [PATCH v4 00/15] follow_pfn and other iomap races

2020-10-29 Thread Daniel Vetter
On Thu, Oct 29, 2020 at 9:57 AM Christoph Hellwig wrote: > > Maybe I'm missing something, but shouldn't follow_pfn be unexported > at the end of the series? kvm is a legit user and modular afaict. But since you can't use this without an mmu_notifier anyway (or digging around in pagetable locking)

[PATCH v4 00/15] follow_pfn and other iomap races

2020-10-26 Thread Daniel Vetter
Hi all Round 3 of my patch series to clamp down a bunch of races and gaps around follow_pfn and other access to iomem mmaps. Previous version: v1: https://lore.kernel.org/dri-devel/20201007164426.1812530-1-daniel.vet...@ffwll.ch/ v2: https://lore.kernel.org/dri-devel/20201009075934.3509076-1-da