How printk() buffering works?

2007-12-09 Thread Amogh Hooshdar
Hi I am a newbie in the world of Linux kernel. I have lots of questions and some may be really silly. So, I will be asking a lot of questions in the coming few months. I hope asking such questions is considered OK here. If not, please guide me. Here is the question I have now. I was playing with

Re: How printk() buffering works?

2007-12-09 Thread Thomas Petazzoni
Le Sun, 9 Dec 2007 19:08:12 +0530, Amogh Hooshdar [EMAIL PROTECTED] a écrit : printk(KERN_INFO hello, world\n KERN_INFO hello, again\n); Initially, I was expecting it to print hello world in one line and 6hello, again in the next line. But this is printing hello, world and hello, again in

Re: How printk() buffering works?

2007-12-09 Thread Erik Mouw
On Sun, Dec 09, 2007 at 07:08:12PM +0530, Amogh Hooshdar wrote: I am a newbie in the world of Linux kernel. I have lots of questions and some may be really silly. So, I will be asking a lot of questions in the coming few months. I hope asking such questions is considered OK here. If not,