[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-21 Thread Daniel Vetter
On Thu, Nov 21, 2013 at 09:29:26AM +0100, Thomas Hellstrom wrote: > On 11/21/2013 09:18 AM, Daniel Vetter wrote: > >On Wed, Nov 20, 2013 at 11:35:31PM +0100, Thomas Hellstrom wrote: > >>On 11/20/2013 03:24 PM, Daniel Vetter wrote: > >>>On Wed, Nov 20, 2013 at 01:55:49AM -0800, Thomas Hellstrom

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-21 Thread Thomas Hellstrom
On 11/21/2013 09:18 AM, Daniel Vetter wrote: > On Wed, Nov 20, 2013 at 11:35:31PM +0100, Thomas Hellstrom wrote: >> On 11/20/2013 03:24 PM, Daniel Vetter wrote: >>> On Wed, Nov 20, 2013 at 01:55:49AM -0800, Thomas Hellstrom wrote: Not sure if there are any user-space users of private bo

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-21 Thread Daniel Vetter
On Wed, Nov 20, 2013 at 11:35:31PM +0100, Thomas Hellstrom wrote: > On 11/20/2013 03:24 PM, Daniel Vetter wrote: > >On Wed, Nov 20, 2013 at 01:55:49AM -0800, Thomas Hellstrom wrote: > >>Not sure if there are any user-space users of private bo mappings, but > >>if there are, or will be, zapping the

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-20 Thread Thomas Hellstrom
On 11/20/2013 03:24 PM, Daniel Vetter wrote: > On Wed, Nov 20, 2013 at 01:55:49AM -0800, Thomas Hellstrom wrote: >> Not sure if there are any user-space users of private bo mappings, but >> if there are, or will be, zapping the COW'd pages when, for example, >> moving a bo would confuse the user

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-20 Thread Daniel Vetter
On Wed, Nov 20, 2013 at 01:55:49AM -0800, Thomas Hellstrom wrote: > Not sure if there are any user-space users of private bo mappings, but > if there are, or will be, zapping the COW'd pages when, for example, > moving a bo would confuse the user immensely since the net effect for the > user would

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-20 Thread Thomas Hellstrom
On 11/20/2013 11:14 AM, David Herrmann wrote: > Hi > > On Wed, Nov 20, 2013 at 10:55 AM, Thomas Hellstrom > wrote: >> Not sure if there are any user-space users of private bo mappings, but >> if there are, or will be, zapping the COW'd pages when, for example, >> moving a bo would confuse the

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-20 Thread David Herrmann
Hi On Wed, Nov 20, 2013 at 10:55 AM, Thomas Hellstrom wrote: > Not sure if there are any user-space users of private bo mappings, but > if there are, or will be, zapping the COW'd pages when, for example, > moving a bo would confuse the user immensely since the net effect for the > user would be

[PATCH] drm/vma-manager: Don't unmap COW'd pages when zapping bo ptes

2013-11-20 Thread Thomas Hellstrom
Not sure if there are any user-space users of private bo mappings, but if there are, or will be, zapping the COW'd pages when, for example, moving a bo would confuse the user immensely since the net effect for the user would be that pages written to would lose their contents. Signed-off-by: