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

Tigran Aivazian tigran en ocston.org
Dom Ene 23 04:45:23 CST 2000


> > Since when has "kmalloc" been a standard name anyway ?
> 
> Why do we have printk anyway?  It serves the same purpose as printf and
> is even tagged as `taking arguments like printf' for gcc's type-checking
> benefit.

It is actually subtly different (the <N> priority thing) which I always
thought was the reason why printk() is not called printf(). It is not
called cmn_err() because of different semantics, so it would cause more
headache than usefullness. So, if it can't be printf() and cmn_err() -
what is there left as a possible name? printk(), of course :)

Sorry if I sound like a depressed human - I planned to try 2 new ideas
wrt pollfd allocation this weekend and instead I am faced with a sudden
requirement to fill in TWO YEARS worth of tax return forms so I am :(

Regards,
Tigran.


-
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