Messages in this thread | | | Subject | Re: [PATCH] Allow a hyphenated range in get_options, with cleanup | From | Andi Kleen <> | Date | 31 Oct 2006 22:12:18 +0100 |
| |
Derek Fults <dfults@sgi.com> writes:
> This allows a hyphenated range of positive numbers in the string passed > to command line helper function, get_options. > Currently the command line option "isolcpus=" takes as its argument a > list of cpus. > Format: <cpu number>,...,<cpu number> > This can get extremely long when isolating the majority of cpus on a > large system. Valid values of <cpu_number> include all cpus, 0 to > "number of CPUs in system - 1".
It would be better if you defined a separate function for this instead of defining such a weird calling convention.
The common code with get_options could be factored out into a helper.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |