Re: [igt-dev] [PATCH i-g-t v2] i915/gem_pread, gem_pwrite: Exercise using ourselves as the buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Apr 2019 at 13:46, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> If we caused a fault on a GEM buffer while in the middle of trying to
> write/read into that buffer, we could conceivably deadlock (e.g.
> recursing on struct_mutex if we are not careful). Exercise these cases
> by supplying a fresh mmap to pread/pwrite in both non-overlapping and
> overlapping copies.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux