Messages in this thread | | | Date | Thu, 26 Oct 2017 19:44:27 +0200 | From | Borislav Petkov <> | Subject | Re: [Part2 PATCH v6 13/38] crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support |
| |
On Thu, Oct 26, 2017 at 11:56:57AM -0500, Brijesh Singh wrote: > The variable is used as ref counter.
... and it can't be converted to a boolean because...?
> In your previous reply you comments on global semaphore (fw_init_mutex) and > in response I tried to highlight why we need the global semaphore. Did I > misunderstood your comment ?
Yes, what happens if you get preempted while holding the mutex? Will the other process be able to do anything?
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |