Re: printk and sk_buffs

From: Andi Kleen (
Date: Wed Jun 27 2001 - 10:38:20 EST

"Jens Hoffrichter" <> writes:

> I do not fully unterstandt the printk code, so perhaps somebody can answer
> me this (probably stupid ;) ) question:
> If I do a printk, is there a packet (aka a sk_buff) created? If I turn on
> debugging in my code, I see a huge pile of sk_buffs which are allocated but
> which do not get in touch with the "essential" parts of the network-code
> (e.g. ip_rcv) where I have modified some code. I can't explain it to me
> fully, but perhaps someone of yours has a suitable answer.

klogd uses unix sockets to talk to syslogd. unix sockets use sk_buffs.
You can kill klogd if you're not interested in logging kernel messages to disk.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:16 EST