ttm_write_lock uninterruptible sleep
In ttm_write_lock(), for the interruptible sleep, the __ttm_write_lock() is used as the sleep predicate. On the other hand, for the uninterruptible case, __ttm_read_lock() is evaluated. It seems that the code was not changed since the initial import at the end of 2009. Shouldn't both cases use the same __ttm_write_lock() ?
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Op 06-01-13 20:01, Konstantin Belousov schreef:
Quoted 6 lines
In
ttm_write_lock(), for the interruptible sleep, the__ttm_write_lock()is used as the sleep predicate. On the other hand, for the uninterruptible case,__ttm_read_lock()is evaluated. It seems that the code was not changed since the initial import at the end of 2009. Shouldn't both cases use the same__ttm_write_lock()?
Yes. :-)
~Maarten