Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/init_sysctl_base.c
RevisionDateAuthorComments
 1.9  20-Dec-2023  andvar fix tripple n typos in "running"/"domainname", also one missing n in comments.
 1.8  31-Oct-2017  martin Allow architectures to define a macro PROC_MACHINE_ARCH(P) and
PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch
(native and netbsd32 commpat resp.).

Use these for arm and mips instead of the (not working, noisy, in case
of arm) sysctl override and #ifdef __mips__ in architecture neutral
code.
 1.7  25-Aug-2015  pooka Move a bunch of sysctl nodes from init_sysctl (kitchen sink sysctl file)
to init_sysctl_base (only base kernel defs). Main motivation was to
fix sysconf(_SC_NPROCESSORS) for Rumprun. As reported by neeraj on irc,
it returned -1 before this fix, so we were doing imaginary computing.
 1.6  25-Aug-2015  pooka hw nodes do not go under the kern tree, so add new init routine for them
 1.5  07-Jul-2015  justin Missing includes for some architectures
 1.4  07-Jul-2015  justin Move hw.machine and hw.machine_arch sysctls to base so rump can use them

This allows uname(3) and uname(1) to work on rump kernels.
 1.3  25-Feb-2014  pooka branches: 1.3.6;
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
 1.2  25-Feb-2014  justin Add kern.{ostype,osrelease,osrevision,version} kern.domainname,
kern.rawpartition sysctl support to rump kernel.
Moved the sysctl support that is shared between rump and normal
kernels to init_sysctl_base.c as rump cannot use init_sysctl.c
in order to avoid code duplication. Agreed with pooka@.
 1.1  16-Sep-2009  pooka branches: 1.1.4; 1.1.14; 1.1.24; 1.1.28;
Chop init_sysctl into base nodes (init_sysctl_base.c) and the
kitchen sink (init_sysctl.c). Further surgery may be needed down
the line.
 1.1.28.1  18-May-2014  rmind sync with head
 1.1.24.2  03-Dec-2017  jdolecek update from HEAD
 1.1.24.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.14.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2  11-Mar-2010  yamt sync with head
 1.1.4.1  16-Sep-2009  yamt file init_sysctl_base.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:16 +0000
 1.3.6.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed