Where are defaults for kernel variables?
gemini at geminix.org
Wed Jan 21 00:19:57 PST 2004
Jozef Babjak wrote:
> Where can I find default values for kernel variables which is tunable in
> kernel config file? Some values are in LINT file, for example
> options PMAP_SHPGPERPROC=201
> options KVA_PAGES=260
> but are these default values?
No, these are usually not the defaults, just examples. I haven't found
a complete list so far. I could be wrong, but I think part of the
problem is that the majority of kernel developers doesn't feel obligated
to document the variables they introduced somewhere outside the kernel.
So if you can't find any third-party documentation about a particular
variable you probably have to consult the kernel sources, not only about
the default values but also about the semantics of these variables.
That's what I did in the past.
Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers
gemini at geminix.org | http://www.escapebox.net
More information about the freebsd-stable