Re: problem with printk-- somebody please help

From: linux-os
Date: Mon Nov 08 2004 - 14:23:24 EST


On Tue, 9 Nov 2004, Arun Srinivas wrote:

hi

I am new to the kernel world and would be very glad if somebody could
help me with this problem.

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.

I was able to do all these i.e., inside "activate_task" on a kernel
without smp support.Can anybody suggest a solution as to what could be
the problem??

somebody please help.

Thanks
Arun

Maybe it's not called. The task may get put into the run-queue
using resched_task() and __activate_task() as well.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by John Ashcroft.
98.36% of all statistics are fiction.
-
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/