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/