From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <152461278149.17530.2867511144531572045.stgit@dwillia2-desk3.amr.corp.intel.com> References: <152461278149.17530.2867511144531572045.stgit@dwillia2-desk3.amr.corp.intel.com> From: Dan Williams Date: Thu, 3 May 2018 16:53:18 -0700 Message-ID: Subject: Re: [PATCH v9 0/9] dax: fix dma vs truncate/hole-punch To: linux-nvdimm Cc: Michal Hocko , Jan Kara , Mike Snitzer , Dave Hansen , Dave Chinner , Linux MM , Christoph Hellwig , Thomas Meyer , kbuild test robot , "Darrick J. Wong" , Alasdair Kergon , Heiko Carstens , Martin Schwidefsky , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Alexander Viro , Matthew Wilcox , stable , linux-xfs , linux-fsdevel , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: On Tue, Apr 24, 2018 at 4:33 PM, Dan Williams wrote: > Changes since v8 [1]: > * Rebase on v4.17-rc2 > > * Fix get_user_pages_fast() for ZONE_DEVICE pages to revalidate the pte, > pmd, pud after taking references (Jan) > > * Kill dax_layout_lock(). With get_user_pages_fast() for ZONE_DEVICE > fixed we can then rely on the {pte,pmd}_lock to synchronize > dax_layout_busy_page() vs new page references (Jan) > > * Hold the iolock over repeated invocations of dax_layout_busy_page() to > enable truncate/hole-punch to make forward progress in the presence of > a constant stream of new direct-I/O requests (Jan). > > [1]: https://lists.01.org/pipermail/linux-nvdimm/2018-March/015058.html I'll push this for soak time in -next if there are no further comments...