This change is just a bug fix from previous version : instead of hardcoding decrement to 1, I modified it to use the right value of CPUS_PER_TASK
The question you asked probably relevant in a more general context : and I am not sure what the implication of that is (will need to relook at the code to answer it).