[patch-2.3.40-pre6] kzalloc() (ala kmem_zalloc() of SVR4)
Jes Sorensen
Jes.Sorensen en cern.ch
Vie Ene 21 20:49:58 CST 2000
>>>>> "Tigran" == Tigran Aivazian <tigran en sco.COM> writes:
Tigran> Hi Linus, a common code sequence of calling kmalloc() and then
Tigran> memset(p,0,size) can be optimized into a single exported
Tigran> interface called kzalloc() like it is done on other systems
Tigran> (kmem_zalloc()). This is a simple and harmless optimization -
Tigran> please consider it:
Why?
The only thing it does is to introduce a new non standard name which
makes current code less readable.
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda