OpenBSD CVS

CVS log for src/sys/sys/malloc.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126 / (download) - annotate - [select for diffs], Tue Dec 19 14:40:04 2023 UTC (5 months, 3 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.125: +3 -3 lines
Diff to previous 1.125 (colored)

add a malloc type for pinsyscall arrays

Revision 1.125 / (download) - annotate - [select for diffs], Mon Jul 3 06:45:44 2023 UTC (11 months, 1 week ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.124: +55 -55 lines
Diff to previous 1.124 (colored)

Bring malloc(9) and <sys/malloc.h> into sync for M_* entries, such
that the former's text comes from the latter's comments.  Rationalize
capitalization, whitespace, and plural-vs-singular.  Mark things for
for automation in the future.

Prompted by loss of sync from the addition of M_IFGROUP and M_PF
Previously worked up in discussion with schwarze@ and jmc@

ok deraadt@, miod@, jmc@

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jun 30 09:58:30 2023 UTC (11 months, 1 week ago) by mvs
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

Introduce M_PF type for pf(4) related memory allocations. Currently used
M_TEMP and M_IFADDR types are unreasonable for that purpose. This
dedicated statistics simplify the future pf(4) unlocking work by
decreasing search area of possible memory leaks.

ok bluhm sashan

Revision 1.123 / (download) - annotate - [select for diffs], Tue Jun 27 21:02:13 2023 UTC (11 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored)

Introduce M_IFGROUP type of memory allocation. M_TEMP is unreasonable
for interface groups data allocations.

ok kn claudio bluhm

Revision 1.122 / (download) - annotate - [select for diffs], Thu Feb 3 17:18:22 2022 UTC (2 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.121: +11 -18 lines
Diff to previous 1.121 (colored)

Delete unused/obsolete M_* type values.

ok miod@ mpi@

Revision 1.121 / (download) - annotate - [select for diffs], Tue Mar 9 15:08:23 2021 UTC (3 years, 3 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)
are started before syslogd(8).  This resulted in ugly sendsyslog(2)
dropped logs and the real message was lost.
Create a temporary stash for log messages within the kernel.  It
has a limited size of 100 messages, and each message is truncated
to 8192 bytes.  When the stash is exhausted, the well-known dropped
message is generated with a counter.  After syslogd(8) has setup
everything, it sends a debug line through libc to flush the kernel
stash.  Then syslogd receives all messages from the kernel before
the usual logs.
OK deraadt@ visa@

Revision 1.120 / (download) - annotate - [select for diffs], Tue Feb 23 13:50:16 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.119: +1 -2 lines
Diff to previous 1.119 (colored)

remove unused malloc_roundup()

Revision 1.119 / (download) - annotate - [select for diffs], Thu Nov 28 16:23:11 2019 UTC (4 years, 6 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.118: +1 -2 lines
Diff to previous 1.118 (colored)

Delete km_mapblocks from kmemstats and its always-zero column from the ddb
"show malloc" output

ok deraadt@ mpi@

Revision 1.118 / (download) - annotate - [select for diffs], Thu Feb 7 15:11:38 2019 UTC (5 years, 4 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 (colored)

Add lock stack trace saving for witness(4).

This lets witness(4) save a stack trace on each lock acquisition.
The saved traces can be viewed in ddb(4) when showing the currently
held locks, which may help when debugging incorrect locking.

Sample output:

ddb{0}> show all locks
Process 63836 (rm) thread 0xffff8000221e52c8 (435004)
exclusive rrwlock inode r = 0 (0xfffffd8119a092c0) locked @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1547
#0  witness_lock+0x419
#1  _rw_enter+0x2bb
#2  _rrw_enter+0x42
#3  VOP_LOCK+0x3f
#4  vn_lock+0x36
#5  vfs_lookup+0xa1
#6  namei+0x2b3
#7  dounlinkat+0x85
#8  syscall+0x338
#9  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff81e6a5f0) locked @ /usr/src/sys/arch/amd64/amd64/intr.c:525
#0  witness_lock+0x419
#1  syscall+0x2b6
#2  Xsyscall+0x128

The saving adds overhead, so it is not enabled by default. It can be
taken into use by setting sysctl kern.witness.locktrace=1 at runtime
or by defining WITNESS_LOCKTRACE in the kernel configuration.

Feedback and OK anton@

Revision 1.117 / (download) - annotate - [select for diffs], Mon Nov 12 15:09:17 2018 UTC (5 years, 6 months ago) by visa
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Add a mechanism for managing asynchronous IO signal registrations.
It centralizes IO signal privilege checking and makes possible to revoke
a registration when the target process or process group is deleted.

Adapted from FreeBSD.

OK kettenis@ mpi@ guenther@

Revision 1.116 / (download) - annotate - [select for diffs], Mon Nov 27 09:23:44 2017 UTC (6 years, 6 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.115: +3 -14 lines
Diff to previous 1.115 (colored)

Remove MALLOC_DEBUG left overs.

From Klemens Nanni.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Oct 27 16:11:00 2017 UTC (6 years, 7 months ago) by visa
Branch: MAIN
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Allocate IPv6 reassembly structs using pools instead of malloc(),
and drop the now redundant allocation type M_FTABLE.

OK mikeb@, bluhm@, mpi@

Revision 1.114 / (download) - annotate - [select for diffs], Mon Nov 14 03:20:33 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored)

add a type for counters.

ok mpi@ visa@ mikeb@

Revision 1.113 / (download) - annotate - [select for diffs], Wed Jul 20 09:15:28 2016 UTC (7 years, 10 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

Make the size for the syn cache hash array tunable.  As we are
swapping between two syn caches for random reseeding anyway, this
feature can be added easily.  When the cache is empty, there is an
opportunity to change the hash size.  This allows an admin under
SYN flood attack to defend his machine.
Suggested by claudio@; OK jung@ claudio@ jmc@

Revision 1.112 / (download) - annotate - [select for diffs], Mon Aug 24 15:33:49 2015 UTC (8 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.111: +4 -5 lines
Diff to previous 1.111 (colored)

Rename M_RTABLE bucket into "rtable" to match the code and kill unused
M_BWMETER.

ok mikeb@

Revision 1.111 / (download) - annotate - [select for diffs], Sat Jul 12 18:43:32 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Jul 12 10:51:35 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (colored)

remove bluetooth types

Revision 1.109 / (download) - annotate - [select for diffs], Thu Jul 10 19:33:16 2014 UTC (9 years, 11 months ago) by matthew
Branch: MAIN
Changes since 1.108: +6 -5 lines
Diff to previous 1.108 (colored)

Add mallocarray(9)

While here, change malloc(9)'s size argument from "unsigned long" to
"size_t".

ok tedu

Revision 1.108 / (download) - annotate - [select for diffs], Mon May 19 14:30:03 2014 UTC (10 years ago) by tedu
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

consistent use of uint32_t for poison values

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jun 3 15:56:01 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

tabs after defines, not spaces

Revision 1.106 / (download) - annotate - [select for diffs], Mon Jun 3 15:54:48 2013 UTC (11 years ago) by tedu
Branch: MAIN
Changes since 1.105: +4 -3 lines
Diff to previous 1.105 (colored)

changes for isc fuse support. not enabled. ok beck deraadt.
from Sylvestre Gallon ccna.syl gmail.com

Revision 1.105 / (download) - annotate - [select for diffs], Fri May 3 18:26:07 2013 UTC (11 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

switch the malloc and pool freelists to using xor simpleq.
this adds a tiny bit more protection from list manipulation.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Apr 6 03:53:25 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.103: +6 -15 lines
Diff to previous 1.103 (colored)

shuffle around some poison code, prototypes, values...
allow some more pool debug code to be enabled if not compiled in
bump poison size back up to 64

Revision 1.103 / (download) - annotate - [select for diffs], Tue Mar 26 16:36:01 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.102: +19 -3 lines
Diff to previous 1.102 (colored)

replace kern malloc's hand rolled freelist with simpleq macros.
ok deraadt mpi

Revision 1.102 / (download) - annotate - [select for diffs], Sat Mar 23 16:12:30 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.101: +21 -3 lines
Diff to previous 1.101 (colored)

refactor sys/param.h and machine/param.h.  A lot of #ifdef _KERNEL is added
to keep definitions our of user space.  The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently.  locore, bootblocks, and libkvm still see enough visibility to
build.  Checked on 90% of platforms...

Revision 1.101 / (download) - annotate - [select for diffs], Thu Feb 7 11:06:42 2013 UTC (11 years, 4 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.100: +3 -4 lines
Diff to previous 1.100 (colored)

convert mbuf tags to use pool(9) as a backend storage;
ok markus claudio haesbaert henning

Revision 1.100 / (download) - annotate - [select for diffs], Fri Apr 6 15:10:40 2012 UTC (12 years, 2 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.99: +2 -4 lines
Diff to previous 1.99 (colored)

tedu the raidframe.

ok deraadt@

Revision 1.99 / (download) - annotate - [select for diffs], Sat Dec 25 00:13:21 2010 UTC (13 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.98: +4 -4 lines
Diff to previous 1.98 (colored)

ntfs memory names were too long and make vmstat -m look ugly

Revision 1.98 / (download) - annotate - [select for diffs], Sun Sep 26 21:03:57 2010 UTC (13 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 (colored)

unify some pool and malloc flag values.  the important bit is that all flags
have real values, no 0 values anymore.
ok deraadt kettenis krw matthew oga thib

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jul 14 10:31:54 2010 UTC (13 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.96: +13 -15 lines
Diff to previous 1.96 (colored)

Eliminate some unused malloc(9) type defines.  Also get rid of the
mysterious and unused mbtypes[] array in mbuf.h.

ok tedu@, deraadt@

Revision 1.96 / (download) - annotate - [select for diffs], Tue Aug 25 17:59:45 2009 UTC (14 years, 9 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.95: +2 -33 lines
Diff to previous 1.95 (colored)

The BUCKETINDX() giant macro is used to compute the base 2 logarithm of its
input, in order to pick the appropriate malloc() bucket.

Replace it with an inline function in kern_malloc.c, which will either
do a tightest-but-slower loop (if option SMALL_KERNEL), or a geometric search
equivalent to what the macro does, but producing smaller code (especially on
platforms which can not load large constants in one instruction).

Revision 1.95 / (download) - annotate - [select for diffs], Mon Dec 29 14:20:19 2008 UTC (15 years, 5 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Shorten "Direct Rendering Manager" to "DRM" in the malloc memory type
string.  Prevents messing with vmstat output.

from brad a while back. "absolutely ok kettenis@ on that one" kettenis@.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Oct 18 12:11:30 2008 UTC (15 years, 7 months ago) by kettenis
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored)

Revert the change to use pools for <= PAGE_SIZE allocations.  It
changes the pressure on the uvm system, uncovering several bugs.  Some
of those bugs result in provable deadlocks.  We'll have to reconsider
integrating this diff again after fixing those bugs.

ok art@

Revision 1.93 / (download) - annotate - [select for diffs], Mon Sep 29 12:34:18 2008 UTC (15 years, 8 months ago) by art
Branch: MAIN
Changes since 1.92: +2 -3 lines
Diff to previous 1.92 (colored)

Use pools to do allocations for all sizes <= PAGE_SIZE.
This will allow us to escape the limitations of kmem_map.
At this moment, the per-type limits are still enforced for all sizes,
but we might loosen that limit in the future after some thinking.

Original diff from Mickey in kernel/5761 , I massaged it a little to
obey the per-type limits.

miod@ ok

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jun 22 15:52:54 2008 UTC (15 years, 11 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.91: +1 -8 lines
Diff to previous 1.91 (colored)

remove MALLOC and FREE macros, as they are no more used in the tree.

tested on non i386/amd64 archs by miod.

ok miod@

Revision 1.91 / (download) - annotate - [select for diffs], Sun Jun 8 17:20:52 2008 UTC (16 years ago) by art
Branch: MAIN
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Add a malloc type for ACPI and use it for _acpi_os_malloc and free.

kettenis@ ok

Revision 1.90 / (download) - annotate - [select for diffs], Wed Nov 28 23:37:34 2007 UTC (16 years, 6 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.89: +5 -2 lines
Diff to previous 1.89 (colored)

Initial import of the DRM (direct rendering manager).

This is the kernel part necessary for DRI support in X. Disabled for now
because it still has a few bugs, but now I can work on it in tree. Also
requires the requisite bits in X, which are currently under discussion
on how to deal with them with privsep. ported from a combination of the
free and netbsd implementations.

Known bugs:
1) only the first occurence of X in any session will have dri, after
that something prevents it working.
2) if the machine does not have a dri capable card, the kernel panics.
Something's up in one of the probe functions. I haven't been able to
find it though.
3) radeon cards need to be forced to use PCI mode otherwise they get
into an infinite loop.

This is known to at least kinda work with SiS, radeons in pci mode and
intel cards.

ok deraadt, kinda ok art, a few other people had a quick look.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Nov 25 17:11:12 2007 UTC (16 years, 6 months ago) by oga
Branch: MAIN
Changes since 1.88: +5 -2 lines
Diff to previous 1.88 (colored)

Make agp attach as a device. This means that many more agp bridges
actually get detected and attached. Also adds a kernel api for
manipulating agp.

Enable this on i386 and amd64.

"I think you should commit it" deraadt@, ok matthieu. Looked over by
several others.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Sep 18 08:13:49 2007 UTC (16 years, 8 months ago) by art
Branch: MAIN
Changes since 1.87: +1 -35 lines
Diff to previous 1.87 (colored)

Since the MALLOC/FREE macros don't work with M_ZERO (on purpose) and
they most likely don't make things that much faster (we can't know, no
default kernel config uses them), just rip them out to avoid further
confusion.

ok miod@, dlg@, millert@, "Hell yes" toby@

Revision 1.87 / (download) - annotate - [select for diffs], Fri Sep 7 10:22:15 2007 UTC (16 years, 9 months ago) by art
Branch: MAIN
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)

Add the long requested M_ZERO flag to malloc(9).

But the reason for this isn't some kind of "we can make it use the
pre-zeroed pages and zero the freelist in the idle loop and OMG I can
has optimisatiuns" which would require tons of infrastructure and make
everything slower.

The reason is that it shrinks other code. And that's good.

dlg@ ok, henning@ ok (before he read the diff)

Revision 1.86 / (download) - annotate - [select for diffs], Sat Sep 1 17:06:26 2007 UTC (16 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.85: +5 -2 lines
Diff to previous 1.85 (colored)

- Add bthidev(4), from NetBSD.
- Make btms(4) and btkbd(4) compile.
- Removed remaining proplib NetBSD'sim

Prodded a while ago by gwk@. Eyeballed by miod@.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jun 17 20:06:10 2007 UTC (16 years, 11 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

de-register

ok thib@

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jun 1 05:37:14 2007 UTC (17 years ago) by deraadt
Branch: MAIN
Changes since 1.83: +5 -11 lines
Diff to previous 1.83 (colored)

remove crufty adosfs.  everytime we try to change a vfs layer interface,
adosfs has the issue and in an entirely different way.  noone uses this
code so this is hte best way to handle the problem
diff from pedro who went to sleep but we need to move ahead; ok thib

Revision 1.83 / (download) - annotate - [select for diffs], Sat Sep 30 14:31:28 2006 UTC (17 years, 8 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored)

no malloc debug but configured kmemstats allow 'sh mal' to print smth useful; miod@ ok

Revision 1.82 / (download) - annotate - [select for diffs], Wed Dec 14 22:03:01 2005 UTC (18 years, 6 months ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.81: +3 -4 lines
Diff to previous 1.81 (colored)

Make ext2fs use a memory pool to allocate inodes, okay tedu@

Revision 1.81 / (download) - annotate - [select for diffs], Tue Nov 15 07:02:37 2005 UTC (18 years, 6 months ago) by miod
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

More typos (especially indicies -> indices), checked with jmc@

Revision 1.80 / (download) - annotate - [select for diffs], Sat Oct 15 00:08:51 2005 UTC (18 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

spl values are int; evol@online.ptt.ru

Revision 1.79 / (download) - annotate - [select for diffs], Sun Jul 3 20:14:00 2005 UTC (18 years, 11 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.78: +2 -3 lines
Diff to previous 1.78 (colored)

Extended Attributes was a piece to get to ACLs, however ACLs have not
been worked on, so EA is pointless. Also the code is not enabled
in GENERIC so it is not being tested or maintained.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Mar 29 17:24:52 2005 UTC (19 years, 2 months ago) by pedro
Branch: MAIN
Changes since 1.77: +9 -2 lines
Diff to previous 1.77 (colored)

Bring in UDF support from FreeBSD, disabled for now.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 4 22:41:04 2005 UTC (19 years, 3 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored)

fix the MALLOC macro if built without malloc statistics. this won't
affect GENERIC.

ok deraadt@ miod@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 14 21:15:08 2005 UTC (19 years, 4 months ago) by mcbride
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 (colored)

Missed commit of M_BWMETER, allow a PIM kernel to actually compile.

pointed out by Scot Bontrager <scot@indievisible.org>

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jan 14 12:04:02 2005 UTC (19 years, 5 months ago) by grange
Branch: MAIN
Changes since 1.74: +5 -2 lines
Diff to previous 1.74 (colored)

First step in Bluetooth protocol stack support.

The code is adopted from the FreeBSD netgraph-based Bluetooth
implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but
all netgraph glue was replaced with usual BSD network stack
hooks. This is a work in progress. Only HCI layer works for now,
L2CAP and RFCOMM are on the way.

Help in testing from many, ok markus@.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Dec 30 08:28:39 2004 UTC (19 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored)

Import M_CANFAIL support from NetBSD, removes a nasty panic during low-mem scenarios, instead generating an ENOMEM backfeed, ok tedu@, prodded by many

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jul 21 17:30:56 2004 UTC (19 years, 10 months ago) by marius
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.72: +6 -2 lines
Diff to previous 1.72 (colored)

kqueue support for NFS, adapted from netbsd.

ok art@ pedro@, "get it in" deraadt@

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jun 20 01:04:28 2004 UTC (19 years, 11 months ago) by art
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71 (colored)

Fix inversed logic in handling the "nowait/waitok" flags. Bugs in two places
in malloc_debug.

Also, add an assert-like function to sprinkle in code you're debugging at the
moment. Those asserts are _not_ supposed to be ever comitted, just use them
while debugging.

beck@ ok

Revision 1.27.2.10 / (download) - annotate - [select for diffs], Sat Jun 5 23:13:09 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.27.2.9: +2 -2 lines
Diff to previous 1.27.2.9 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Merge with the trunk

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 14 04:00:33 2004 UTC (20 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

use pool for namei pathbuf.  testing ok millert@ tdeval@

Revision 1.27.2.9 / (download) - annotate - [select for diffs], Thu Feb 19 11:01:33 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.27.2.8: +10 -7 lines
Diff to previous 1.27.2.8 (colored) to branchpoint 1.27 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jan 14 19:34:05 2004 UTC (20 years, 5 months ago) by grange
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Get rid of M_LOCKF and use pool for allocating lockf structures.
 From NetBSD.

Tested by many people, ok art@.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Dec 28 17:16:55 2003 UTC (20 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.68: +4 -3 lines
Diff to previous 1.68 (colored)

new type for dirhash

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jun 21 00:42:58 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.67: +5 -3 lines
Diff to previous 1.67 (colored)

add exec/fork/exit hooks per process for compat emulations.
use them to correctly emulate linux brk.
update to TNF copyright in linux_exec.c.

from netbsd, mostly from a diff by Kurt Miller in pr3318.
this should fix java.  no regressions in testing by kurt and sturm@.
be prepared for "proc size mismatch" -- recompile ps and friends.
ok deraadt@

Revision 1.27.2.8 / (download) - annotate - [select for diffs], Sat Jun 7 11:09:07 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.27.2.7: +22 -7 lines
Diff to previous 1.27.2.7 (colored) to branchpoint 1.27 (colored)

Sync SMP branch to -current

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

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

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 20 03:05:42 2003 UTC (21 years ago) by tedu
Branch: MAIN
Changes since 1.65: +21 -2 lines
Diff to previous 1.65 (colored)

support for NTFS.  from NetBSD via Julien Bordet

Revision 1.49.2.6 / (download) - annotate - [select for diffs], Mon May 19 22:32:19 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.49.2.5: +12 -13 lines
Diff to previous 1.49.2.5 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

sync

Revision 1.27.2.7 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:30 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.27.2.6: +28 -26 lines
Diff to previous 1.27.2.6 (colored) to branchpoint 1.27 (colored)

Sync the SMP branch with 3.3

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 30 16:38:39 2003 UTC (21 years, 4 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.64: +5 -6 lines
Diff to previous 1.64 (colored)

Stop using an LFS type for cluster mallocs, use an own type and
GC the LFS malloc types until LFS is resurrected.

from tedu@stanford.edu

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jan 27 22:23:45 2003 UTC (21 years, 4 months ago) by miod
Branch: MAIN
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

M_VMPVENT bites the dust; requested by art@ long ago.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Dec 20 06:00:53 2002 UTC (21 years, 5 months ago) by art
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Add a special malloc type M_DEBUG.
If the kernel is compiled with MALLOC_DEBUG, M_DEBUG will force the allocation
to be done through malloc_debug.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Dec 17 23:11:31 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Make SysV-style shared memory and semaphore limits sysctl'able.
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not.  The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).

The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.

Revision 1.49.2.5 / (download) - annotate - [select for diffs], Tue Oct 29 01:11:09 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.49.2.4: +2 -4 lines
Diff to previous 1.49.2.4 (colored) to branchpoint 1.49 (colored)

misc minor cleanups.

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:49 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.49.2.3: +18 -15 lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored)

sync to -current

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 28 08:28:03 2002 UTC (21 years, 9 months ago) by tdeval
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

RAIDframe spelling. ok art@

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 28 16:00:23 2002 UTC (21 years, 11 months ago) by art
Branch: MAIN
Changes since 1.59: +5 -5 lines
Diff to previous 1.59 (colored)

Use slightly safer internal variable names in MALLOC and FREE.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 25 17:11:49 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.58: +7 -4 lines
Diff to previous 1.58 (colored)

IEEE1394 infrastructure part.
IP-over-FW and SCSI over FW are being worked on.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 21 12:14:21 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.57: +6 -6 lines
Diff to previous 1.57 (colored)

tabify

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jun 11 05:56:52 2002 UTC (22 years ago) by art
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

splvm, not splimp

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Tue Jun 11 03:32:33 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.49.2.2: +9 -6 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)

Sync UBC branch to -current

Revision 1.27.2.6 / (download) - annotate - [select for diffs], Thu Mar 28 14:52:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.27.2.5: +4 -4 lines
Diff to previous 1.27.2.5 (colored) to branchpoint 1.27 (colored)

Merge in -current from roughly a week ago

Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:14 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

First round of __P removal in sys

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Wed Mar 6 02:17:13 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.27.2.4: +54 -73 lines
Diff to previous 1.27.2.4 (colored) to branchpoint 1.27 (colored)

Merge in trunk

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 22 20:37:45 2002 UTC (22 years, 3 months ago) by drahn
Branch: MAIN
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

Extended Attribute support from FreeBSD/TrustedBSD ok art@, deraadt@

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 12 17:19:41 2002 UTC (22 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored)

malloc_roundup to calculate allocation size malloc will use; from netbsd;
okay art@

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Sat Feb 2 03:28:26 2002 UTC (22 years, 4 months ago) by art
Branch: UBC
Changes since 1.49.2.1: +3 -1 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)

Merge in UBC performance changes from NetBSD.
Fix a bunch of merge errors from yesterday.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Thu Jan 31 22:55:48 2002 UTC (22 years, 4 months ago) by niklas
Branch: UBC
Changes since 1.49: +51 -72 lines
Diff to previous 1.49 (colored)

Merge in -current, builds on i386, otherwise untested

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jan 28 11:54:30 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.52: +7 -9 lines
Diff to previous 1.52 (colored)

Even more GC.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jan 25 03:50:33 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.51: +11 -25 lines
Diff to previous 1.51 (colored)

GC some more malloc types.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jan 23 15:46:48 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.50: +7 -10 lines
Diff to previous 1.50 (colored)

Allocate rusage, pgrp, ucred and session with pool.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jan 23 10:24:00 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.49: +34 -37 lines
Diff to previous 1.49 (colored)

GC some malloc types.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Wed Dec 5 01:02:40 2001 UTC (22 years, 6 months ago) by niklas
Branch: SMP
Changes since 1.27.2.3: +4 -3 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored)

Merge in -current

Revision 1.49 / (download) - annotate - [select for diffs], Wed Nov 28 19:28:14 2001 UTC (22 years, 6 months ago) by art
Branch: MAIN
CVS Tags: UBC_BASE
Branch point for: UBC
Changes since 1.48: +4 -3 lines
Diff to previous 1.48 (colored)

Sync in more uvm from NetBSD. Mostly just cosmetic stuff.
Contains also support for page coloring.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:30:30 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.27.2.2: +23 -17 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 18 18:15:52 2001 UTC (22 years, 9 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

M_DEBUG is no longer needed.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 17 23:39:59 2001 UTC (22 years, 9 months ago) by art
Branch: MAIN
Changes since 1.46: +10 -1 lines
Diff to previous 1.46 (colored)

When this code was imported to NetBSD by Jason Thorpe he did a bunch of
useful changes (and a lot of cleanup). Bring in them.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Aug 11 02:06:24 2001 UTC (22 years, 10 months ago) by art
Branch: MAIN
Changes since 1.45: +10 -13 lines
Diff to previous 1.45 (colored)

GC some unused malloc types.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 26 13:59:23 2001 UTC (22 years, 10 months ago) by art
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Typos.
From Heikki Korpela <heko@iki.fi>

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 11:00:22 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.27.2.1: +40 -44 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (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.44 / (download) - annotate - [select for diffs], Sun May 20 00:09:57 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Rename entry so it fits in the vmstat -m output.

Revision 1.43 / (download) - annotate - [select for diffs], Wed May 16 08:59:03 2001 UTC (23 years, 1 month ago) by art
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Introduce a new kernel option "SMALL_KERNEL" that will be used to keep the
kernel size down.

Two changes. Uninline MALLOC and uninline a few mbuf macros. Saves 140k
on alpha RAMDISK (although only 11k after gzip).

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:45:02 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.27: +27 -13 lines
Diff to previous 1.27 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.42 / (download) - annotate - [select for diffs], Mon May 14 08:02:21 2001 UTC (23 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

Updated sysctl_malloc() prototype (struct proc argument added)

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 14 06:56:55 2001 UTC (23 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

M_SYSCTL deraadt@ ok

Revision 1.40 / (download) - annotate - [select for diffs], Fri May 11 06:36:59 2001 UTC (23 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.39: +11 -16 lines
Diff to previous 1.39 (colored)

sysctl entries for kmemstats, nselcoll, nchstats, and forkstat.

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 5 20:57:02 2001 UTC (23 years, 1 month ago) by art
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Wed May 2 00:47:53 2001 UTC (23 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.37: +28 -28 lines
Diff to previous 1.37 (colored)

Remove some unused entries, add some new ones. ok art@ itojun@

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 21 23:24:30 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored)



Latest soft updates from FreeBSD/Kirk McKusick

Snapshot-related code has been commented out.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 21 08:03:52 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)


Missed a place for M_ZERO

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 20 23:35:36 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)



Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer.

Used by the new soft updates code

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 4 07:48:40 2001 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.33: +1 -19 lines
Diff to previous 1.33 (colored)

Remove unneeded name definitions.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 4 06:03:59 2001 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.32: +16 -8 lines
Diff to previous 1.32 (colored)

kmembuckets sysctl

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 3 19:19:52 2001 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.31: +30 -10 lines
Diff to previous 1.31 (colored)

Convert the kb_* counters to u_int64_t after all; easier to
sysctl-expose them (ok deraadt@)

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 2 17:22:46 2001 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Make kb_calls u_long (art@ ok)

Revision 1.30 / (download) - annotate - [select for diffs], Thu Nov 16 20:02:20 2000 UTC (23 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored)

support kernel event queues, from FreeBSD by Jonathan Lemon,
okay art@, millert@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 12 05:59:50 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

simple typo; maligned@attcanada.net

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 6 20:21:49 2000 UTC (24 years ago) by art
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

memory type for MALLOC_DEBUG

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 8 06:50:24 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.26: +15 -2 lines
Diff to previous 1.26 (colored)

bring in KAME IPv6 code, dated 19991208.
replaces NRL IPv6 layer.  reuses NRL pcb layer.  no IPsec-on-v6 support.
see sys/netinet6/{TODO,IMPLEMENTATION} for more details.

GENERIC configuration should work fine as before.  GENERIC.v6 works fine
as well, but you'll need KAME userland tools to play with IPv6 (will be
bringed into soon).

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 20 11:11:27 1999 UTC (24 years, 6 months ago) by matthieu
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

add MTRR support from FreeBSD

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 29 14:08:13 1999 UTC (24 years, 7 months ago) by art
Branch: MAIN
Changes since 1.24: +5 -2 lines
Diff to previous 1.24 (colored)

Define a memory type for pipes.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 9 03:47:56 1999 UTC (24 years, 10 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.23: +9 -3 lines
Diff to previous 1.23 (colored)

Reserve types for the USB framework.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 1 23:43:41 1999 UTC (25 years ago) by ho
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (colored)

Introduce M_PFKEY kmem type, and use it. (angelos@ ok)

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 27 23:52:03 1999 UTC (25 years ago) by art
Branch: MAIN
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored)

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 26 01:57:58 1999 UTC (25 years, 3 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.20: +11 -2 lines
Diff to previous 1.20 (colored)

malloc types for uvm and pool

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 15 22:50:25 1999 UTC (25 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

Add a RaidFrame bucket type

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 11 21:55:27 1999 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

sth went in by mistake

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 11 02:01:45 1999 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored)

Lost IPv6 defines

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 7 22:07:14 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

NRL ipv6 malloc buckets

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 17 21:05:40 1998 UTC (25 years, 6 months ago) by art
Branch: MAIN
Changes since 1.15: +5 -1 lines
Diff to previous 1.15 (colored)

put back the NO_KMEMSTATS hack

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 17 20:52:16 1998 UTC (25 years, 6 months ago) by art
Branch: MAIN
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored)

don't default to KMEMSTATS (was defined unless NO_KMEMSTATS was defined)
add a M_VMSWAP memory type (for future use)
do { ... } while(0) protect the MALLOC and FREE macros.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 1 00:37:56 1998 UTC (26 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,
<chuck@openbsd.org>. This code is as of yet disabled on all platforms,
actually not yet supported on more than mvme68k, although other
platforms are expected soon, as code is already available.
This code makes handling of multiple physical memory regions
consistent over all platforms, as well as keeping the performance of
maintaining a single continuous memory chunk.  It is also a
requirement for the upcoming UVM replacement VM system.

What I did in this merge: just declared the pmap_map function in a
MD include file per port that needs it.  It's not an exported pmap
interface, says Chuck.  It ended up in differnt include files on
differnet ports, as I tried to follow the current policy on a per-arch
basis.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 6 05:59:08 1997 UTC (26 years, 7 months ago) by csapuntz
Branch: MAIN
Changes since 1.12: +42 -5 lines
Diff to previous 1.12 (colored)

Updates for VFS Lite 2 + soft update.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 6 20:21:07 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.11: +4 -41 lines
Diff to previous 1.11 (colored)

back out vfs lite2 till after 2.2

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 6 15:25:33 1997 UTC (26 years, 8 months ago) by csapuntz
Branch: MAIN
Changes since 1.10: +42 -5 lines
Diff to previous 1.10 (colored)

VFS Lite2 Changes

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 1 21:24:46 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Allow building of kernels that do not keep malloc statistics via
"options NO_KMEMSTATS" in the config file.

Does not change default behavior.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 20 01:07:34 1997 UTC (27 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +8 -3 lines
Diff to previous 1.8 (colored)

IPSEC package by John Ioannidis and Angelos D. Keromytis. Written in
Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 13 18:11:04 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

added M_PFIL for packet filter

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 14 03:52:56 1996 UTC (27 years, 11 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

add M_EXT2FSNODE

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 21 22:31:49 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

partial sync with netbsd 960418, more to come

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 18 21:40:59 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Merge of NetBSD 960317

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 31 13:16:43 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

From NetBSD: NFSv3 import (tomorrow's Net's kernel)
Open's patches kept in. i'll possibly take a look at Lite2 soon,
is there smth usefull ?..

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 3 12:11:58 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

From NetBSD: 960217 merge

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 04:01:02 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

from netbsd; add M_IPQ

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53: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:53: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.