Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched/isolcpus: Output warning when the 'isolcpus=' kernel parameter …
…is invalid The isolcpus= kernel boot parameter restricts userspace from scheduling on the specified CPUs. If a CPU is specified that is outside the range of 0 to nr_cpu_ids, cpulist_parse() will return -ERANGE, return an empty cpulist, and fail silently. This patch adds an error message to isolated_cpu_setup() to indicate to the user that something has gone awry, and returns 0 on error. Signed-off-by: Prarit Bhargava <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Twiddled some details. ] Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information