OpenBSD CVS

CVS log for src/sys/conf/param.c


[BACK] Up to [local] / src / sys / conf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Sun May 5 06:14:37 2024 UTC (5 weeks, 1 day ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.49: +1 -11 lines
Diff to previous 1.49 (colored)

remove unneeded includes

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 4 09:47:51 2023 UTC (11 months, 1 week ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.48: +1 -11 lines
Diff to previous 1.48 (colored)

Remove mbuf low watermark vars.  Unused since uipc_mbuf.c rev 1.244.
ok kn@ bluhm@

Revision 1.48 / (download) - annotate - [select for diffs], Fri Mar 3 20:16:44 2023 UTC (15 months, 1 week ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.47: +1 -4 lines
Diff to previous 1.47 (colored)

initclocks: don't reinitialize ticks, jiffies at runtime

Various drivers use ticks/jiffies before initclocks().  It isn't
generally safe to reinitialize them at runtime.  Hoist the conditional
definition of HZ from param.c into sys/kernel.h so we can see it from
kern_clock.c and statically initialize ticks/jiffies to the desired
offset.

With this change, timeouts scheduled before initclocks() do not all
fire immediately during the first softclock().

With input from kettenis@.

Link: https://marc.info/?l=openbsd-tech&m=167753870803378&w=2

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 13 10:08:10 2022 UTC (2 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Use a simpler "formula" to decide a default kern.maxthread value;
just 2*NPROCESS rather than NPROCESS+8*MAXUSERS. Results in a slightly
higher maxthread value - the previous value was fairly likely to be
exceeded on a system running a couple of heavily threaded processes.

>                             previous        new
> MAXUSERS    NPROCESS        maxthread       (2*NPROCESS)
> 80          1310            1950            2620
> 64          1054            1566            2108
> 32          542             798             1084

ok kettenis@

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 13 16:28:50 2021 UTC (3 years, 4 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.45: +1 -2 lines
Diff to previous 1.45 (colored)

kernel, sysctl(8): remove dead variable: tickadj

The global "tickadj" variable is a remnant of the old NTP adjustment
code we used in the kernel before the current timecounter subsystem
was imported from FreeBSD circa 2004 or 2005.

Fifteen years hence it is completely vestigial and we can remove it.
We probably should have removed it long ago but I guess it slipped
through the cracks.  FreeBSD removed it in 2002:

https://cgit.freebsd.org/src/commit/?id=e1d970f1811e5e1e9c912c032acdcec6521b2a6d

NetBSD and DragonflyBSD can probably remove it, too.

We export tickadj via the kern.clockrate sysctl(2), so update sysctl.2
and sysctl(8) accordingly.  Hypothetically this change could break
someone's sysctl(8) parsing script.  I don't think that's very likely.

ok mvs@

Revision 1.45 / (download) - annotate - [select for diffs], Sat Sep 7 01:23:23 2019 UTC (4 years, 9 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.44: +2 -9 lines
Diff to previous 1.44 (colored)

Remove tz, the kernel timezone.

After removing timezone support from date(1), msdosfs, gettimeofday(2),
settimeofday(2), boot_config(8), config(8), and introducing kern.utc_offset
sysctl(2) to replace the DST/TIMEZONE options(4) to support running the RTC
at an offset from UTC, the kernel timezone is unused and we can delete it.

With this commit the kernel timezone now appears to be extinct in
upstream BSD, though it does survive in XNU:

https://github.com/opensource-apple/xnu/blob/0a798f6738bc1db01281fc08ae024145e84df927/bsd/conf/param.c#L83

Prompted by tedu@ some time back, and inspired by NetBSD and FreeBSD's
work in this area.

ok deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Aug 21 20:44:09 2019 UTC (4 years, 9 months ago) by cheloha
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)

The DST and TIMEZONE options(4) are incompatible with KARL, so we need
some other way to compensate for an RTC running with a known offset.

Enter kern.utc_offset, an offset in minutes East of UTC.  TIMEZONE has
always been minutes West, but this is inconsistent with how everyone
else talks about timezones, hence the flip.

TIMEZONE has the advantage of being compiled into the binary.  Our new
sysctl(2) has no such luck, so it needs to be set as early as possible
in boot, from sysctl.conf(5), so we can correct the kernel clock from
the RTC's local time to UTC before daemons like ntpd(8) and cron(8)
start.  To encourage this, kern.utc_offset is made immutable after the
securelevel(7) is raised to 1.

Prompted by yasuoka@.  Discussed with deraadt@, kettenis@, yasuoka@.
Additional testing by yasuoka@.

ok deraadt@, yasuoka@

Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 2 02:17:35 2019 UTC (4 years, 10 months ago) by cheloha
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

per-process itimers: itimerval -> itimerspec

Loongson runs at 128hz.  128 doesn't divide evenly into a million,
but it does divide evenly into a billion.  So if we do the per-process
itimer bookkeeping with itimerspec structs we can have error-free
virtual itimers on loongson just as we do on most other platforms.

This change doesn't fix the virtual itimer error alpha, as 1024 does not
divide evenly into a billion.  But this doesn't make the situation any
worse, either.

ok deraadt@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 16 17:39:02 2019 UTC (4 years, 10 months ago) by bluhm
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Prevent integer overflow in kernel and userland when checking mbuf
limits.  Convert kernel variables and calculations for mbuf memory
into long to allow larger values on 64 bit machines.  Put a range
check into the kernel sysctl.  For the interface itself int is still
sufficient.  In netstat -m cast all multiplications to unsigned
long to hold the product of two unsigned int.
input and OK visa@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 8 23:59:32 2019 UTC (4 years, 11 months ago) by mlarkin
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Remove trailing whitespace from a macro

ok deraadt

Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 28 14:51:16 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

the bufcachepercent=80 experiment has exposed a few problems...

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 20 15:47:23 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

as discussed with beck, crank dma-range bufcache to a high number
(he suggested 90 but I prefer 80).  This is so we learn the downside
from user reports.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Oct 3 11:21:52 2017 UTC (6 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

work around config(8) modifying bss, using __attribute__ ((section(".data"))).
From yasuoka.
I really want this fixed in a different way after release is finished.

Revision 1.37 / (download) - annotate - [select for diffs], Fri May 6 19:45:35 2016 UTC (8 years, 1 month ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Revert the previous commit.  There still are bad interactions between the
pagedaemon and the buffer cache.

requested by deraadt@

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 18 15:25:08 2016 UTC (8 years, 1 month ago) by beck
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Bump the default of cachepercent to 90 to see if we can find problems before
we try to remove it entirely
ok deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 9 05:01:56 2015 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

rename desiredvnodes to initialvnodes. less of a lie. ok beck deraadt

Revision 1.34 / (download) - annotate - [select for diffs], Tue Apr 10 15:50:52 2012 UTC (12 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.33: +7 -6 lines
Diff to previous 1.33 (colored)

Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimit
count processes instead of threads.  New sysctl()s KERN_NTHREADS and
KERN_MAXTHREAD count and limit threads.  The nprocs and maxproc kernel
variables are replaced by nprocess, maxprocess, nthreads, and maxthread.

ok tedu@ mikeb@

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 8 19:34:25 2011 UTC (12 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Ship 5.0 with bufcachepercent=20

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 5 19:41:09 2011 UTC (13 years ago) by deraadt
Branch: MAIN
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 (colored)

Move the bufcachepercent setting code to MI locations -- set it to 42%
for now; that is unlikely to hit some of the remaining starvation bugs.
Repair the bufpages calculation too; i386 was doing it ahead of time
(incorrectly) and then re-calculating it.
ok thib

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 8 22:12:06 2009 UTC (14 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored)

Remove old SysV SHM size limits global variables, they are no longer needed
since blambert@ rewrote the allocation code.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 9 10:40:17 2009 UTC (14 years, 10 months ago) by blambert
Branch: MAIN
Changes since 1.29: +1 -16 lines
Diff to previous 1.29 (colored)

Rototill system V message queues.

No longer allocate a static amount of memory for messages in MD
boot path; message queues, message metadata, and message data now
all use dynamic memory, which means that runtime sysctls should now
be trivial to implement.

Since I'm going to be around all week to fix any breakage, this should
probably just go in now.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 20 22:25:29 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

we now have a higher count of kernel threads on many machines, so crank
the base amount in NPROC to 30; ok miod

Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 2 21:01:13 2007 UTC (16 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

crank maxfiles; OK deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 31 05:12:41 2007 UTC (17 years ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.26: +4 -1 lines
Diff to previous 1.26 (colored)

NFSv2 cannot cope with a big number of vnodes, so revert to NPROC-based
calculation until the problem is fixed, okay beck@ art@

Revision 1.26 / (download) - annotate - [select for diffs], Sat May 26 20:26:51 2007 UTC (17 years ago) by pedro
Branch: MAIN
Changes since 1.25: +2 -5 lines
Diff to previous 1.25 (colored)

Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@
deraadt@ dlg@.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 12 19:25:58 2007 UTC (17 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.24: +1 -4 lines
Diff to previous 1.24 (colored)

better desiredvnodes not based on maxusers; pedro@ deraadt@ ok

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 14 16:47:04 2007 UTC (17 years, 3 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

recycle swbuf that had been long gone (w/ old vm)
(this is in preparation for approaching GBC work)

Revision 1.7.2.9 / (download) - annotate - [select for diffs], Thu Feb 19 10:51:30 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.7.2.8: +4 -4 lines
Diff to previous 1.7.2.8 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 1 20:17:34 2004 UTC (20 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Crank SHMMNI from 32 -> 128 and SHMSEG from 8 -> 128.  OK deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 24 04:02:20 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

knf

Revision 1.7.2.8 / (download) - annotate - [select for diffs], Sat Jun 7 11:00:37 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.7.2.7: +2 -6 lines
Diff to previous 1.7.2.7 (colored) to branchpoint 1.7 (colored)

Sync SMP branch to -current

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:01 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.20: +2 -6 lines
Diff to previous 1.20 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.7.2.7 / (download) - annotate - [select for diffs], Thu Mar 27 23:53:48 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.7.2.6: +2 -6 lines
Diff to previous 1.7.2.6 (colored) to branchpoint 1.7 (colored)

Sync the SMP branch with 3.3

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:30:52 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.17.2.1: +1 -7 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync to -current

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 6 20:19:53 2002 UTC (21 years, 8 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.19: +1 -7 lines
Diff to previous 1.19 (colored)

nbuf doesn't belong here. It's declared on all architectures instead.
And here it goes into the bss, while it's initialized in MD code.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:28:26 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

Sync UBC branch to -current

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 23 13:28:34 2002 UTC (22 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Add variables for config(8) -e time tweak of systemV shared memory
parameters.

Ok millert@, miod@, maja@

Revision 1.7.2.6 / (download) - annotate - [select for diffs], Wed Mar 6 02:07:09 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.7.2.5: +1 -1 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored)

Merge in trunk

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 17 22:59:53 2002 UTC (22 years, 3 months ago) by maja
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Patch from Daniel Lucq <daniel@lucq.org>

The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT
and NKMEMPAGES using the config command, instead of recompiling the kernel.

This is the kernel part of the patch. I have compiled it on i386, sparc64,
alpha and macppc. -moj ok art@ maja@

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Tue Nov 13 21:05:48 2001 UTC (22 years, 7 months ago) by niklas
Branch: SMP
Changes since 1.7.2.4: +2 -2 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored)

Merge in -current

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 9 15:25:55 2001 UTC (22 years, 7 months ago) by art
Branch: MAIN
CVS Tags: UBC_BASE
Branch point for: UBC
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

nswbuf hasn't been used for ages. gc.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Wed Oct 31 03:11:47 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.7.2.3: +1 -11 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 23 12:02:04 2001 UTC (22 years, 9 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

Remove even more old timeout tentacles.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 12 23:58:34 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

seminfo.semmap and SEMMAP are not used; kill them
Solaris doesn't have these either...

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 5 10:12:22 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
Changes since 1.13: +1 -8 lines
Diff to previous 1.13 (colored)

Get rid of REAL_CLISTS. It was never implemented and the tentacles are
everywhhere.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Wed Jul 4 10:39:56 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.7.2.2: +14 -5 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 27 04:58:42 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
Changes since 1.12: +1 -4 lines
Diff to previous 1.12 (colored)

Remove old vm.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 17 18:41:47 2001 UTC (23 years ago) by provos
Branch: MAIN
Changes since 1.11: +13 -1 lines
Diff to previous 1.11 (colored)

convert mbuf and cluster allocation to pool, mostly from NetBSD
okay art@ miod@

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon May 14 22:06:49 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.7.2.1: +3 -1 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 5 20:56:57 2001 UTC (23 years, 1 month ago) by art
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Get rid of CLSIZE and all related stuff.
CLSIZE -> 1
CLBYTES -> PAGE_SIZE
OLOFSET -> PAGE_MASK
etc.
At the same time some archs needed some cleaning in vmparam.h so that
goes in at the same time.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 27 13:56:10 2000 UTC (24 years, 2 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

no vm_cache_max in uvm; ok art@

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Mar 24 09:09:04 2000 UTC (24 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Sync with -current

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 23 09:59:56 2000 UTC (24 years, 2 months ago) by art
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

New API for timeouts. Replaces the old timeout()/untimeout() API and
makes it the callers responsibility to allocate resources for the
timeouts.

This is a KISS implementation and does _not_ solve the problems of slow
handling of a large number of pending timeouts (this will be solved in
future work) (although hardclock is now guarateed to take constant time
for handling of timeouts).

Old timeout() and untimeout() are implemented as wrappers around the new
API and kept for compatibility. They will be removed as soon as all
subsystems are converted to use the new API.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 21 14:55:52 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

double ncallout, until art fixes this further

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 26 16:22:03 1999 UTC (24 years, 6 months ago) by art
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE
Branch point for: SMP
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update comment to reflect reality.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 27 05:00:11 1998 UTC (25 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.5: +0 -2 lines
Diff to previous 1.5 (colored)

Undo changes which were not discussed.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 27 00:46:29 1998 UTC (25 years, 9 months ago) by mickey
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

defopt TIMEZONE

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 20 22:29:08 1998 UTC (26 years ago) by downsj
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Increase NVNODE.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 28 22:39:59 1997 UTC (27 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

move vm_cache_max into param.c
make it maxusers adaptive
note, that NTEXT approximation is probably not the best idea

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 19 07:31:24 1996 UTC (28 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored)

Make kernel config again.
at least isa,eisa,pci ocnfigs were affected.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:52:27 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:52:27 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.