Dave,

On Mon, Jul 17, 2006 at 10:20:21AM -0400, Dave Nellans wrote:
> > 
> 
> Great diagnosis Stephane, disabling SMP support in the kernel shows the
> problem has been eliminated. I was aware of the limitation for per cpu
> monitoring but wasn't thinking about the possibility of my module code
> being migrated off the cpu it was initialized on.
> 
> is there an easy way to pin in-kernel code to a specific cpu using the
> affinity functions to prevent this from happening?  i use the affinity
> functions regularly but on user processes typically; so don't know if my
> module code would be part of a migratable/pinnable kernel level thread
> or process.
> 
Use set_cpus_allowed() for in-kernel thread.

> -dave
> -- 
> Dave Nellans
> [EMAIL PROTECTED]
> http://www.nellans.org/~dwn/



-- 

-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to