ttm_write_lock uninterruptible sleep

Konstantin Belousov kostikbel at gmail.com
Sun Jan 6 11:01:49 PST 2013


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() ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130106/6b123886/attachment-0001.pgp>


More information about the dri-devel mailing list