Re: [PATCH v2 21/22] mpool: add documentation

From: Randy Dunlap
Date: Mon Oct 12 2020 - 12:53:41 EST



> diff --git a/drivers/mpool/mpool-locking.rst b/drivers/mpool/mpool-locking.rst
> new file mode 100644
> index 000000000000..6a5da727f2fb
> --- /dev/null
> +++ b/drivers/mpool/mpool-locking.rst
> @@ -0,0 +1,90 @@

> +Object Layout Reference Counts
> +------------------------------
> +
> +The reference counts for an object layout (eld_ref) are protected
> +by mmi_co_lock or mmi_uc_lock of the object's MDC dependiing upon

depending

> +which tree it is in at the time of acquisition.

--
~Randy