ttm_write_lock uninterruptible sleep

Maarten Lankhorst maarten.lankhorst at canonical.com
Mon Jan 7 02:50:04 PST 2013


Op 06-01-13 20:01, Konstantin Belousov schreef:
> 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


More information about the dri-devel mailing list