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

Robin Holt holt at sgi.com
Sat Oct 2 04:45:38 EST 2010


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 at austin.ibm.com>

Reviewed-by: Robin Holt <holt at sgi.com>

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


More information about the Linuxppc-dev mailing list