Re: [RFC i-g-t] igt/gem_ringfill: Adds full ringbuffer preemption test

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

 



Quoting Chris Wilson (2017-08-15 23:35:46)
> end:
> For the purpose of testing, just create a debugfs that acquires
> struct_mutex on opening. Then test every ioctl and trap from a second
> client.

Whilst fun, this is focusing on the current implementation issue and
doesn't define the behaviour you want, namely that any two ioctls from
different clients for disparate resources do not block. The better test
will be setting up the typical conflicts, but playing with a
struct_mutex-blocker will show you just how widespread the immediate
problem is.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux