RE: [PATCH v8 2/2] efi: a misc char interface for user to update efi firmware

From: Kweh, Hock Leong
Date: Wed Oct 28 2015 - 05:12:16 EST


> -----Original Message-----
> From: Matt Fleming [mailto:matt@xxxxxxxxxxxxxxxxx]
> Sent: Monday, October 12, 2015 8:11 PM
>
> > +};
> > +
> > +static DEFINE_MUTEX(capsule_loader_lock);
>
> What does this lock protect?

This lock is to protect when one of the instance calling efi_capsule_update()
API and the other instance calling efi_capsule_supported() API.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/