Re: [patch-2.3.40-pre6] kzalloc() (ala kmem_zalloc() of SVR4)

From: Tigran Aivazian (tigran@sco.COM)
Date: Fri Jan 21 2000 - 05:19:15 EST


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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:25 EST