lkml.org 
[lkml]   [2000]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.131 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site