Re: How do klogd and syslogd influence code execution timing?

From: Andrew Morton
Date: Fri Dec 10 2004 - 19:26:00 EST


Konstantin Kletschke <lists@xxxxxxxxx> wrote:
>
> It is absolutely _required_ that we start syslogd and klogd before
> inserting the storage device.

The difference is that if klogd is running, a printk() will cause a wakeup
to be delivered to klogd in release_console_sem(). That will cause the CPU
to go into the scheduler code, take and release locks, take more time, etc.

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