lkml.org 
[lkml]   [2001]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: printk and sk_buffs
From
Date
"Jens Hoffrichter" <HOFFRICH@de.ibm.com> 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.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.024 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site