[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH XEN v6 20/32] tools/libs/foreignmemory: Support err == NULL to map.

On Wed, 2015-12-09 at 13:31 +0100, Egger, Christoph wrote:
> I recommend calloc(num, sizeof(int))

I decided not to since it needlessly (in this case) zeroes the memory.
Perhaps that is a premature optimisation though.

BTW, if you'd be able to test (even just a build test) on NetBSD that would
be very much appreciated since I don't have a suitable system.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.