On Fri, 28 May 2010 11:28:50 +0200, Daniel Vetter <dan...@ffwll.ch> wrote:
> On Thu, May 27, 2010 at 02:15:35PM +0100, Chris Wilson wrote:
> > Since we now get_user_pages() outside of the mutex prior to performing
> > the copy, we kmap() the page inside the copy routine and so need to
> > perform an ordinary memcpy() and not copy_from_user().
> 
> Patches look sane and will definitely help in (someday) fixing up the racy
> pwrite/pread locking.

Now who's being optimistic... ;-)

All I am trying to do is find some way to explain
  https://bugs.freedesktop.org/show_bug.cgi?id=26645#c5
-ickle

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to