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

Brandon S. Allbery KF8NH allbery en kf8nh.apk.net
Dom Ene 23 17:44:47 CST 2000


In message <Pine.SV4.3.96.1000122113149.17095C-100000 en scofolks.ocston.org>, 
Tig
ran Aivazian writes:
+-----
| > 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
+--->8

printk() predates support for priorities in kernel messages.  I vaguely 
recall it being related to "don't link libc into the kernel", but don't 
quote me on that.

-- 
brandon s. allbery	   os/2,linux,solaris,perl	allbery en kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery en ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.



-
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