login
Header Space

 
 

Re: [PATCH 2/2] AFS: Implement shared-writable mmap

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <nickpiggin@...>
Cc: Andrew Morton <akpm@...>, David Howells <dhowells@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Wednesday, May 16, 2007 - 12:36 pm

On Wed, 16 May 2007, Nick Piggin wrote:

That's right, the overhead of the lock_page()/unlock_page() in the common
path of faulting, and of the extra call to unmap_mapping_range() when
truncating (because page lock doesn't satisfactorily replace the old
sequence count when COWing).


So far, yes.  I expect it'll surface in some reallife workload
sometime, but let's not get too depressed about that.  I guess
your blithe "Scalability is not an issue" comment still irks me.


It is a pity to be adding overhead to a common path in order to fix
such very rare cases, but yes, we probably have to live with that.


Again, rather too blithely said.  You have a deep well of ingenuity,
but I doubt it can actually wash away all of the small overhead added.


Getting a "yes" or "no" out of me is very hard work indeed.
But I didn't realize that was gating this work: if the world
had to wait on me, we'd be in trouble.

I think there are quite a few people eager to see the subsequent
->fault changes go in.  And I think I'd just like to minimize the
difference between -mm and mainline, so maximize comprehensibilty,
by getting this all in.  I've not heard of any correctness issues
with it, and we all agree that the page lock there is attractively
simple.

If I ever find a better way of handling it,
I'm free to send patches in future, after all.

Did that sound something like a "yes"?

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] AFS: Fix afs_prepare_write(), David Howells, (Tue May 15, 11:52 am)
Re: [PATCH 1/2] AFS: Fix afs_prepare_write(), Nick Piggin, (Tue May 15, 8:24 pm)
[PATCH 2/2] AFS: Implement shared-writable mmap, David Howells, (Tue May 15, 11:52 am)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Christoph Hellwig, (Wed May 16, 3:10 am)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Nick Piggin, (Wed May 16, 3:17 am)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Nick Piggin, (Tue May 15, 8:32 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Andrew Morton, (Tue May 15, 5:40 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Nick Piggin, (Tue May 15, 8:41 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Hugh Dickins, (Wed May 16, 12:36 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Nick Piggin, (Wed May 16, 1:14 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Hugh Dickins, (Wed May 16, 1:26 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, David Howells, (Wed May 16, 1:48 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Chuck Ebbert, (Wed May 16, 1:34 pm)
Re: [PATCH 2/2] AFS: Implement shared-writable mmap, Nick Piggin, (Wed May 16, 1:30 pm)
speck-geostationary