H. Peter Anvin wrote: > Tim Bird wrote: >> The only thing novel thing I'm adding here is the addition of >> the leading '!' to allow for an override. This is needed >> in some x86 cases I'm familiar with, but I've haven't seen >> any cases where it would be useful for other arches. >> (not to say they don't exist - I just haven't seen them.) >> > > Note that it could just as easily be done with a CONFIG_CMDLINE_OVERRIDE > option, since the initial reason for a magic character was to be able to > provide both prefix and suffix splicing. Agreed. > > CONFIG_CMDLINE_OVERRIDE is probably more palatable to other architectures. I'd be OK implementing it with an option, rather than a magic char. I was trying to avoid adding too many options, since many kernel developers prefer fewer options where possible. But the magic char makes the code less straightforward. If we ever move towards supporting both prefix and suffice splicing (or even complicated in-the-middle splicing), then the magic char is easier to develop into that. But so far, I can only come up with reasonable cases for append and override, and I don't want to add superfluous handling for non-existent use cases. -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Corporation of America ============================= -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html