commit | b7c5bf98c4079304f78242d8b3c65451efc12b77 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgr@lsx.localdomain> | Wed May 07 13:18:30 2008 +0200 |
committer | Thomas Graf <tgr@lsx.localdomain> | Wed May 07 13:18:30 2008 +0200 |
tree | 055260585876f1e0e4602fb3719fc53d080d31fc | |
parent | dc883cc14978fe2fc10f173c145ffc4d0c1178b0 [diff] |
Improve performance by using malloc() over calloc() in critical places As pointed out by Regis Hanna, a considerable performance gain can be achieved by using malloc() over calloc() when allocating netlink message buffers. This is likely due to the fact that we use a complete page for each message.