Messages in this thread | | | Date | Fri, 21 Jan 2000 10:19:15 +0000 (GMT) | From | Tigran Aivazian <> | Subject | Re: [patch-2.3.40-pre6] kzalloc() (ala kmem_zalloc() of SVR4) |
| |
On 21 Jan 2000, Jes Sorensen wrote: > The only thing it does is to introduce a new non standard name which > makes current code less readable.
Incorrect, it makes code smaller and more readable at the cost of extra function call and an if.
A more useful thing would be if you went through entire source code and converted all kmalloc/memset combinations to use kzalloc() and compiled the kernel and compared the size to the previous one and posted the result to me and the list. Also, then run your favourite benchmarks and see if the extra function call and 'if' introduced anything to worry about.
Regards, Tigran.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |