Re: Wanted: a limit on kernel log buffer size

Randy.Dunlap (rddunlap@osdl.org)
Sun, 6 Apr 2003 21:32:55 -0700 (PDT)


> On Sun, 2003-04-06 at 23:35, Randy.Dunlap wrote:
>
>> > a. If someone won't read the help text, how can we help them?
>> >
>> > b. If we make a 2 GB log buffer size a compile-time error, will they
>> read that?
>> >
>> > c. If we make it a compile-time warning, will they read that?
>> >
>> > d. What limit(s) do you suggest? I can try to add some limits.
>> >
>> > e. This kind of config limiting should be done in the config system
>> IMO. I've asked Roman for that capability....
>>
>> Here's a patch that limits kernel log buffer size to 1 MB max.
>> Comments?
>
> I liked points (a) and (e) above.
>
> I say if users cannot bother to read the documentation and understanding
> things, why are they compiling a kernel?
>
> And if we are going to implement parameters bounds checking it should be
> done in kconfig. There are a few other places that want it, too.

I forgot another point: don't change default config settings unless
you are willing to read the help text.

~Randy [sorry if you get this multiple times; i had to resend it]

-
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/