Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-09 Thread Linus Torvalds
On Wed, Mar 6, 2019 at 3:38 PM Andrew Morton wrote: > > Linus, do you have thoughts on > http://lkml.kernel.org/r/20190130124420.1834-4-vba...@suse.cz ? I think that's fine, and probably the right thing to do, but I also suspect that nobody actually cares ;( Linus

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Andrew Morton
On Thu, 7 Mar 2019 00:32:09 +0100 Dominique Martinet wrote: > Andrew Morton wrote on Wed, Mar 06, 2019: > > On Wed, 6 Mar 2019 23:48:03 +0100 (CET) Jiri Kosina > > wrote: > > > > > 3/3 is actually waiting for your decision, see > > > > > >

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Dominique Martinet
Andrew Morton wrote on Wed, Mar 06, 2019: > On Wed, 6 Mar 2019 23:48:03 +0100 (CET) Jiri Kosina wrote: > > > 3/3 is actually waiting for your decision, see > > > > https://lore.kernel.org/lkml/20190212063643.gl15...@dhcp22.suse.cz/ > > I pity anyone who tried to understand this code by

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Andrew Morton
On Wed, 6 Mar 2019 23:48:03 +0100 (CET) Jiri Kosina wrote: > 3/3 is actually waiting for your decision, see > > https://lore.kernel.org/lkml/20190212063643.gl15...@dhcp22.suse.cz/ I pity anyone who tried to understand this code by reading this code. Can we please get some careful

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Jiri Kosina
On Wed, 6 Mar 2019, Andrew Morton wrote: > > could you please take at least the correct and straightforward fix for > > mincore() before we figure out how to deal with the slightly less > > practical RWF_NOWAIT? Thanks. > > I assume we're talking about [1/3] and [2/3] from this thread? > >

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Andrew Morton
On Wed, 6 Mar 2019 13:11:39 +0100 (CET) Jiri Kosina wrote: > On Wed, 30 Jan 2019, Vlastimil Babka wrote: > > > I've collected the patches from the discussion for formal posting. The first > > two should be settled already, third one is the possible improvement I've > > mentioned earlier, where

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-06 Thread Jiri Kosina
On Wed, 30 Jan 2019, Vlastimil Babka wrote: > I've collected the patches from the discussion for formal posting. The first > two should be settled already, third one is the possible improvement I've > mentioned earlier, where only in restricted case we resort to existence of > page > table

[PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-01-30 Thread Vlastimil Babka
I've collected the patches from the discussion for formal posting. The first two should be settled already, third one is the possible improvement I've mentioned earlier, where only in restricted case we resort to existence of page table mapping (the original and later reverted approach from Linus)