mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: printk and sk_buffs
       [not found] <OFC7C24EA9.6CB8EE5C-ONC1256A78.004CC2C0@de.ibm.com.suse.lists.linux.kernel>
@ 2001-06-27 15:38 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2001-06-27 15:38 UTC (permalink / raw)
  To: Jens Hoffrichter; +Cc: linux-kernel

"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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* printk and sk_buffs
@ 2001-07-27 14:02 Jens Hoffrichter
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Hoffrichter @ 2001-07-27 14:02 UTC (permalink / raw)
  To: linux-kernel

Hi,

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.

Thanks in advance.

Regards,
Jens Hoffrichter


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-27 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <OFC7C24EA9.6CB8EE5C-ONC1256A78.004CC2C0@de.ibm.com.suse.lists.linux.kernel>
2001-06-27 15:38 ` printk and sk_buffs Andi Kleen
2001-07-27 14:02 Jens Hoffrichter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®