1

In the kernel function call

printk ("Freeing initrd memory: %ldk freed\n", (end - start) >> 10);

No kernel log-level is mentioned. Then what will be the log level that will be taken by deafult?

nitin_cherian
  • 6,405
  • 21
  • 76
  • 127

1 Answers1

1

I got the answer.

If no message log level is mentioned in printk function, the DEFAULT_MESSAGE_LOGLEVEL is used by the kernel. The second field in /proc/sys/kernel/printk shows the DEFAULT_MESSAGE_LOGLEVEL.

nitin_cherian
  • 6,405
  • 21
  • 76
  • 127