[PATCH] reservation: wait only with non-zero timeout specified (v3)

Maarten Lankhorst maarten.lankhorst at canonical.com
Tue Jan 13 01:04:12 PST 2015


Op 13-01-15 om 10:36 schreef Jammy Zhou:
> When the timeout value passed to reservation_object_wait_timeout_rcu
> is zero, no wait should be done if the fences are not signaled.
>
> Return '1' for idle and '0' for busy if the specified timeout is '0'
> to keep consistent with the case of non-zero timeout.
>
> v2: call fence_put if not signaled in the case of timeout==0
>
>
Looks more sane, but where do you need this?

~Maarten


More information about the dri-devel mailing list