Re: Problem: CPU sleep when calling a function in another object for the first time.

2007-10-19 Thread Phillip Susi
John Marconi wrote: I have added a kernel profiler to the timer interrupt of this CPU - and find that during this 40ms period, the CPU is in r4k_wait - which looks like cpu_idle is running. It almost seems like file Y is being loaded into memory to be used. That is exactly what is happening.

Re: Problem: CPU sleep when calling a function in another object for the first time.

2007-10-17 Thread Robert Hancock
John Marconi wrote: Hello, I have been seeing a problem in which one of my CPUs goes to sleep for 40ms in the middle of running a user-space program. The problem occurs when I have a function in object file X call another function in object file Y. If I add a gettimeofday right before the func