Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refine document about IRQBALANCE_BANNED_CPUS #90
There is no declaration about how irqbalance deal with isolated CPUs or
Signed-off-by: Kairui Song firstname.lastname@example.org
I appreciate the patch, but the text isn't quite accurate. the banned cpu mask is or-ed with the isolated and adaptive tick cpu sets. It would be more accurate to leave out the text about the banned cpu set being unspecified and say instead that isolated and adaptive tick cpus are always considered to be banned.
Thanks for the review, but I did get what you mean by:
The doc text is based on the commit message of ca5a3f1 and 2dddcfe, they says that use of IRQBALANCE_BANNED_CPUS enviroment variable will disable the auto detect of cpu masks, and that's how the function setup_banned_cpus() works.
For example I isolated cpu 0-3:
IRQBALANCE_BANNED_CPUS did disable the auto-detection:
I could post another patch to fix the behavior instead.