Re: [PATCH 2/9] v3 Add mutex for adding/removing memory blocks

From: Robin Holt
Date: Fri Oct 01 2010 - 14:45:43 EST


On Fri, Oct 01, 2010 at 01:29:42PM -0500, Nathan Fontenot wrote:
> Add a new mutex for use in adding and removing of memory blocks. This
> is needed to avoid any race conditions in which the same memory block could
> be added and removed at the same time.
>
> Signed-off-by: Nathan Fontenot <nfont@xxxxxxxxxxxxxx>

Reviewed-by: Robin Holt <holt@xxxxxxx>

I am fine with this patch by itself, but its only real function is
to protect the count introduced by the next patch. You might want to
combine the patches, but if not, that is fine as well.

Robin
--
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/