Re: [PATCH 3/3] xen: optimize xenbus driver for multiple concurrent xenstore accesses
From: Boris Ostrovsky
Date: Tue Jan 10 2017 - 11:38:38 EST
>> /*
>> * xs_response_mutex is locked as long as we are processing one
>> * message. state.in_msg will be true as long as we are holding the
>> * lock in process_msg().
>
> Then in_msg is the same as mutex_is_locked(&xs_response_mutex). And if
> so, do we really need it?
Nevermind this. The lock can be held by others, obviously.
-boris