introduce and use xzalloc()
cover introduce and use xzalloc()
Rather than having to match a call to one of the xmalloc() flavors with a subsequent memset(), introduce a zeroing variant of each of those flavors.
1: introduce xzalloc() & Co
2: use xzalloc in common code
3: use xzalloc in driver code
4: use xzalloc in x86 code
Signed-off-by Jan Beulich <[email protected]>
Quoted 10 lines · Jan Beulich
Rather than having to match a call to one of the
xmalloc()flavors with a subsequentmemset(), introduce a zeroing variant of each of those flavors.1: introduce
xzalloc()& Co
2: use xzalloc in common code
3: use xzalloc in driver code
4: use xzalloc in x86 codeSigned-off-by Jan Beulich <[email protected]>
Uncontentious and a good thing in my view.
Acked-by Keir Fraser <[email protected]>
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel