drm_read() to paged-out memory area

2015-11-25 Thread Chris Wilson
On Tue, Nov 24, 2015 at 10:14:20PM +, Chris Wilson wrote: > On Tue, Nov 24, 2015 at 09:49:58PM +0100, Thomas Hellstrom wrote: > > Hi, Chris, > > > > With your new (well sort of) implementation of drm_read() it looks to me > > like a drm_read() to a paged out >

drm_read() to paged-out memory area

2015-11-25 Thread Thomas Hellstrom
Hi! On 11/24/2015 11:14 PM, Chris Wilson wrote: > On Tue, Nov 24, 2015 at 09:49:58PM +0100, Thomas Hellstrom wrote: >> Hi, Chris, >> >> With your new (well sort of) implementation of drm_read() it looks to me >> like a drm_read() to a paged out >> memory area wi

drm_read() to paged-out memory area

2015-11-24 Thread Chris Wilson
On Tue, Nov 24, 2015 at 09:49:58PM +0100, Thomas Hellstrom wrote: > Hi, Chris, > > With your new (well sort of) implementation of drm_read() it looks to me > like a drm_read() to a paged out > memory area will always fail with -EFAULT. From what I can tell, there's > nothing