xzalloc() & Co?
While I seem to recall that this idea was rejected a couple of years back, shouldn't we re-think and follow e.g. Linux in having zeroing variants of xmalloc() & Co? That would not only reduce code size, but also eliminate one source of potential bugs (see e.g. the thread starting at
http://marc.info/?l=kernel-janitors&m=131615631720174&w=2).
Jan
Quoted 5 lines · Jan Beulich
While I seem to recall that this idea was rejected a couple of years back, shouldn't we re-think and follow e.g. Linux in having zeroing variants of
xmalloc()& Co? That would not only reduce code size, but also eliminate one source of potential bugs (see e.g. the thread starting at
http://marc.info/?l=kernel-janitors&m=131615631720174&w=2).
I don't know why we'd have rejected the idea. It sounds fine to me.
-- Keir
Quoted 7 lines
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel