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

Kernel threads vs set_cpus_allowed()



Hi,
 
In an SMP based system, I want to monitor certain parameters on a per cpu basis. So, I'm trying to evaluate the efficiency of using the set_cpus_allowed() api call vs. binding a kernel thread to a cpu for monitoring cpu parameters. Has anyone did this kind of evaluation or have any comments to share if you have expertise in this area?
 
Thanks,
 
Sameer