On 29.06.2012 17:09, Michel D?nzer wrote:
> On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote:
>> Hold the ring lock the whole time the reset is in progress,
>> otherwise another process can submit new jobs.
> Sounds good, but doesn't this create other paths (e.g. initialization,
> resume) where the ring is being accessed without holding the lock? Isn't
> that a problem?

Thought about that also.

For init I'm pretty sure that no application can submit commands before 
we are done, otherwise we are doomed anyway.

For resume I'm not really sure, but I think that applications are 
resumed after the hardware driver had a chance of doing so.

Christian.

Reply via email to