Re: [PATCH] drm/i915: Prefault before locking pages in shmem_pwrite

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

 



Quoting Matthew Auld (2019-04-02 13:39:20)
> On Mon, 1 Apr 2019 at 14:39, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > If the user passes in a pointer to a GGTT mmaping of the same buffer
> > being written to, we can hit a deadlock in acquiring the shmemfs page
> > (once as the write destination and then as the read source).
> 
> And also shmem_fault, so cpu mmaping?

Possibly if I reorder the test to not deadlock on the mmap_gtt first :)
Let's find out!
-Chris
_______________________________________________
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