[CRIU] [PATCH 9/9] headers: util.h -- Move memory helpers to memory.h

Pavel Emelyanov xemul at parallels.com
Tue Apr 2 12:43:54 EDT 2013


On 04/02/2013 08:40 PM, Cyrill Gorcunov wrote:
> On Tue, Apr 02, 2013 at 08:33:19PM +0400, Pavel Emelyanov wrote:
>> On 04/01/2013 07:27 PM, Cyrill Gorcunov wrote:
>>>
>>> To reuse them outside of crtools code.
>>>
>>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
>>> ---
>>>  include/memory.h | 39 +++++++++++++++++++++++++++++++++++++++
>>
>> Bad name. Smth like xmalloc would be nice.
> 
> xmem.h maybe? because it handles malloc/free/realloc's.

It handles not just memory, but memory _allocation_.
Name it to reflect this fact.

> .
> 




More information about the CRIU mailing list