Use cpumask_var_t instead of struct cpumask to avoid stack overflow with losts of CPUs

Because current kernel has already support thousands of CPUs, so it bring one new APIs for cpumask.
The new one is used to avoid stack overflow.