Re: [RFC PATCH 1/12] memory-hotplug : rename remove_memory tooffline_memory

From: David Rientjes
Date: Wed Jun 27 2012 - 02:10:32 EST


On Wed, 27 Jun 2012, Yasuaki Ishimatsu wrote:

> remove_memory() does not remove memory but just offlines memory. The patch
> changes name of it to offline_memory().
>

The kernel is never going to physically remove the memory itself, so I
don't see the big problem with calling it remove_memory(). If you're
going to change it to offline_memory(), which is just as good but not
better, then I'd suggest changing add_memory() to online_memory() for
completeness.
--
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/