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. So for both patches: Reviewed-by: Daniel Vetter <[email protected]> -- Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
