Skip to contentSkip to conversation

Wanted: a limit on kernel log buffer size

PATCH In review Chuck Ebbert 2 participants 2 messages Apr 8, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Wanted: a limit on kernel log buffer size

Quoted 2 lines · Randy Dunlap

Here's a [modified] patch that limits kernel log buffer size to 1 MB max and 4 KB min.

That's even better.

Maybe the kernel config system could just use multi-choice,
something like this?

( ) 8K

   ( )  16K
   ( )  32K
   ( )  64K

( ) 128K
( ) 256K

A subset of your larger range should be enough, and this would be less prone to user error.

--
Chuck
<insert witty statement here>

#1 lore raw
Quoted 19 lines
Quoted 2 lines · Randy Dunlap

Here's a [modified] patch that limits kernel log buffer size to 1 MB max and 4 KB min.

That's even better.

Maybe the kernel config system could just use multi-choice,
something like this?

   ( )   8K
   ( )  16K
   ( )  32K
   ( )  64K
   ( ) 128K
   ( ) 256K
Quoted 2 lines

A subset of your larger range should be enough, and this would be less prone to user error.

Yes, that could be done. In fact, the current LOG BUFFER size selection started out that way IIRC, but some people said things like, "why have limits" and "make it more general," so I did,

I guess now we have an answer to "why have limits." :( If more people keep having problems with it, we should change it.

~Randy