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

From: Jes Sorensen (Jes.Sorensen@cern.ch)
Date: Fri Jan 21 2000 - 04:34:45 EST


>>>>> "Tigran" == Tigran Aivazian <tigran@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@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