Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings

2007-10-23 Thread Jeremy Fitzhardinge
David Chinner wrote: > Nick, Jeremy, (others?) any objections to this approach to solve > the problem? Seems sounds in principle. I think Nick's shootdown-stray-mappings mm API call is a better long-term answer, but this will do for now. I'll test it out today. J - To unsubscribe from this

Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings

2007-10-23 Thread David Chinner
On Tue, Oct 23, 2007 at 11:30:35AM +0200, Andi Kleen wrote: > On Tue, Oct 23, 2007 at 05:04:14PM +1000, David Chinner wrote: > > > You mean like vmap() could record the pages passed to it in the > > > area->pages > > > array, and we walk and release than in __vunmap() like it already does > > > fo

Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings

2007-10-23 Thread Andi Kleen
On Tue, Oct 23, 2007 at 05:04:14PM +1000, David Chinner wrote: > On Tue, Oct 23, 2007 at 10:36:41AM +1000, David Chinner wrote: > > On Tue, Oct 23, 2007 at 01:35:14AM +0200, Andi Kleen wrote: > > > On Tue, Oct 23, 2007 at 08:32:25AM +1000, David Chinner wrote: > > > > Could vmap()/vunmap() take ref