Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-10-03 Thread Jan Kara
On Tue 02-10-18 11:14:47, Dave Chinner wrote: > On Mon, Oct 01, 2018 at 05:47:57AM -0700, Christoph Hellwig wrote: > > On Mon, Oct 01, 2018 at 04:11:27PM +1000, Dave Chinner wrote: > > > This reminds me so much of Linux mmap() in the mid-2000s - mmap() > > > worked for ext3 without being aware of p

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-10-03 Thread Jan Kara
On Sat 29-09-18 04:46:09, Jerome Glisse wrote: > On Fri, Sep 28, 2018 at 07:28:16PM -0700, John Hubbard wrote: > > Actually, the latest direction on that discussion was toward periodically > > writing back, even while under RDMA, via bounce buffers: > > > > https://lkml.kernel.org/r/201807100821

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-10-01 Thread Dave Chinner
On Mon, Oct 01, 2018 at 05:47:57AM -0700, Christoph Hellwig wrote: > On Mon, Oct 01, 2018 at 04:11:27PM +1000, Dave Chinner wrote: > > This reminds me so much of Linux mmap() in the mid-2000s - mmap() > > worked for ext3 without being aware of page faults, > > And "worked" still is a bit of a stre

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-10-01 Thread Jason Gunthorpe
On Mon, Oct 01, 2018 at 04:11:27PM +1000, Dave Chinner wrote: > This reminds me so much of Linux mmap() in the mid-2000s - mmap() > worked for ext3 without being aware of page faults, so most mm/ > developers at the time were of the opinion that all the other > filesystems should work just fine wi

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-10-01 Thread Christoph Hellwig
On Mon, Oct 01, 2018 at 04:11:27PM +1000, Dave Chinner wrote: > This reminds me so much of Linux mmap() in the mid-2000s - mmap() > worked for ext3 without being aware of page faults, And "worked" still is a bit of a stretch, as soon as you'd get ENOSPC it would still blow up badly. Which probabl

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-30 Thread Dave Chinner
On Sat, Sep 29, 2018 at 04:46:09AM -0400, Jerome Glisse wrote: > On Fri, Sep 28, 2018 at 07:28:16PM -0700, John Hubbard wrote: > > On 9/28/18 2:49 PM, Jerome Glisse wrote: > > > On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: > > >> use a non-CPU device to read and write to "pinned" m

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-29 Thread Jerome Glisse
On Fri, Sep 28, 2018 at 07:28:16PM -0700, John Hubbard wrote: > On 9/28/18 2:49 PM, Jerome Glisse wrote: > > On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: > >> On 9/28/18 8:29 AM, Jerome Glisse wrote: > >>> On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: > >>

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-28 Thread John Hubbard
On 9/28/18 2:49 PM, Jerome Glisse wrote: > On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: >> On 9/28/18 8:29 AM, Jerome Glisse wrote: >>> On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: From: John Hubbard [...] >>> So the solution is to wait (possibly fo

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-28 Thread Jerome Glisse
On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: > On 9/28/18 8:29 AM, Jerome Glisse wrote: > > On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: > >> From: John Hubbard > >> > >> Hi, > >> > >> This short series prepares for eventually fixing the problem describe

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-28 Thread John Hubbard
On 9/28/18 8:29 AM, Jerome Glisse wrote: > On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> Hi, >> >> This short series prepares for eventually fixing the problem described >> in [1], and is following a plan listed in [2]. >> >> I'd like to get th

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-28 Thread Jerome Glisse
On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > Hi, > > This short series prepares for eventually fixing the problem described > in [1], and is following a plan listed in [2]. > > I'd like to get the first two patches into the -mm tree. > > Patc

[PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-27 Thread john . hubbard
From: John Hubbard Hi, This short series prepares for eventually fixing the problem described in [1], and is following a plan listed in [2]. I'd like to get the first two patches into the -mm tree. Patch 1, although not technically critical to do now, is still nice to have, because it's alread