Re: Please help "printk - problem in using it in a SMP kernel"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-11-09 at 11:15 -0600, arun srinivas wrote:

> 
> I am unable to do "printk" or even a macro call like "rdtsc()"...(for
> reading the time stamp counter) from within the "activate_task"
> function on a kernel with smp support.But these work under the main
> schedule() function on the same SMP kernel.

printk actually calls into the scheduler (to wake up the userspace klogd
for exampe) so there are a few functions inside the scheduler you just
can't printk from.
-- 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux