Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.133.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:11 2012 UTC (2 days, 20 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.133.2.1: +31 -222
lines
Diff to previous 1.133.2.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)
sync with head.
Revision 1.142 / (download) - annotate - [select for diffs], Mon Apr 30 22:51:27 2012 UTC (3 weeks, 4 days ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
HEAD
Changes since 1.141: +2 -5
lines
Diff to previous 1.141 (colored)
- Replace some malloc(9) uses with kmem(9). - G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.
Revision 1.133.6.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:04 2012 UTC (3 weeks, 5 days ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.133.6.1: +36 -206
lines
Diff to previous 1.133.6.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)
sync to latest -current.
Revision 1.141 / (download) - annotate - [select for diffs], Sun Apr 29 20:27:31 2012 UTC (3 weeks, 5 days ago) by dsl
Branch: MAIN
Changes since 1.140: +2 -20
lines
Diff to previous 1.140 (colored)
Remove everything to do with 'struct malloc_type' and the malloc link_set. To make code in 'external' (etc) still compile, MALLOC_DECLARE() still has to generate something of type 'struct malloc_type *', with normal optimisation gcc generates a compile-time 0. MALLOC_DEFINE() and friends have no effect. Fix one or two places where the code would no longer compile.
Revision 1.140 / (download) - annotate - [select for diffs], Sun Apr 29 16:36:53 2012 UTC (3 weeks, 5 days ago) by dsl
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.139: +5 -6
lines
Diff to previous 1.139 (colored)
Remove the unused 'struct malloc_type' args to kern_malloc/realloc/free The M_xxx arg is left on the calls to malloc() and free(), maybe they could be converted to an enumeration and just saved in the malloc header (for deep diag use). Remove the malloc_type from mbuf extension. Fixes rump build as well. Welcome to 6.99.6
Revision 1.139 / (download) - annotate - [select for diffs], Sat Apr 28 23:03:40 2012 UTC (3 weeks, 6 days ago) by rmind
Branch: MAIN
Changes since 1.138: +33 -202
lines
Diff to previous 1.138 (colored)
Remove MALLOC_DEBUG and MALLOCLOG, which is dead code after malloc(9) move to kmem(9). Note: kmem(9) has debugging facilities under DEBUG/DIAGNOSTIC. However, expensive kmguard and debug_freecheck have to be enabled manually.
Revision 1.133.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:24 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.133: +40 -676
lines
Diff to previous 1.133 (colored)
sync with head
Revision 1.133.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:30 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.133: +40 -676
lines
Diff to previous 1.133 (colored)
merge to -current.
Revision 1.138 / (download) - annotate - [select for diffs], Mon Feb 6 12:13:44 2012 UTC (3 months, 2 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Changes since 1.137: +18 -6
lines
Diff to previous 1.137 (colored)
align allocations >=pagesize at a page boundary, to preserve traditional malloc(9) semantics fixes dri mappings shared per mmap (at least on i945) approved by releng
Revision 1.137 / (download) - annotate - [select for diffs], Mon Jan 30 05:42:54 2012 UTC (3 months, 3 weeks ago) by mrg
Branch: MAIN
Changes since 1.136: +3 -3
lines
Diff to previous 1.136 (colored)
make sure that the 'struct malloc' header on allocations is properly aligned to (ALIGNBYTES+1). this ensures that the memory that malloc(9) returns is correctly aligned for the platform. this change has an effect on hppa, ia64, sparc and sparc64. necessary on sparc for 8-byte load/store instructions. with this my SS20 boots multiuser again.
Revision 1.136 / (download) - annotate - [select for diffs], Mon Jan 30 01:56:47 2012 UTC (3 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.135: +7 -7
lines
Diff to previous 1.135 (colored)
- kern_realloc: fix a recent regression, use correct size of current allocation. - kern_malloc: constify.
Revision 1.135 / (download) - annotate - [select for diffs], Sat Jan 28 23:09:06 2012 UTC (3 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.134: +2 -6
lines
Diff to previous 1.134 (colored)
- Instead of kmem_cache_max, calculate max index and avoid a shift.
- Use __read_mostly and __cacheline_aligned.
- Make kmem_{intr_alloc,free} public.
- Misc.
Revision 1.134 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:40 2012 UTC (3 months, 4 weeks ago) by para
Branch: MAIN
Changes since 1.133: +31 -675
lines
Diff to previous 1.133 (colored)
extending vmem(9) to be able to allocated resources for it's own needs. simplifying uvm_map handling (no special kernel entries anymore no relocking) make malloc(9) a thin wrapper around kmem(9) (with private interface for interrupt safety reasons) releng@ acknowledged
Revision 1.133 / (download) - annotate - [select for diffs], Sat Oct 15 21:14:57 2011 UTC (7 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.132: +3 -3
lines
Diff to previous 1.132 (colored)
make buckets u_int. Fixes diagnostic panic when we allocate more than 65K active elements in a bucket.
Revision 1.132 / (download) - annotate - [select for diffs], Wed Aug 31 18:31:02 2011 UTC (8 months, 3 weeks ago) by plunky
Branch: MAIN
Changes since 1.131: +3 -3
lines
Diff to previous 1.131 (colored)
NULL does not need a cast
Revision 1.128.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:27 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.128.2.1: +2 -1
lines
Diff to previous 1.128.2.1 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)
Sync with HEAD.
Revision 1.119.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:39 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119.4.3: +19 -3
lines
Diff to previous 1.119.4.3 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)
sync with head.
Revision 1.128.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:57 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.128: +19 -3
lines
Diff to previous 1.128 (colored) next main 1.129 (colored)
sync with head
Revision 1.131 / (download) - annotate - [select for diffs], Wed May 5 02:20:42 2010 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.130: +4 -3
lines
Diff to previous 1.130 (colored)
give the name of the dup initialization.
Revision 1.128.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:09 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.128: +17 -2
lines
Diff to previous 1.128 (colored)
Sync with HEAD.
Revision 1.121.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:16 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.121: +4 -2
lines
Diff to previous 1.121 (colored) next main 1.122 (colored)
sync to netbsd-5
Revision 1.130 / (download) - annotate - [select for diffs], Mon Apr 5 08:03:42 2010 UTC (2 years, 1 month ago) by he
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.129: +17 -5
lines
Diff to previous 1.129 (colored)
Follow christos' suggestions, and make ks_active a u_short, and also only use 16 u_shorts instead of 32 ints. Also add panic() calls for under- and overflow of the ks_active members under DIAGNOSTIC. The MAXBUCKET constant ended up in sys/mallocvar.h and not sys/param.h, as the latter caused build problems. Ride the kernel revision bump of my previous change.
Revision 1.129 / (download) - annotate - [select for diffs], Mon Apr 5 07:16:13 2010 UTC (2 years, 1 month ago) by he
Branch: MAIN
Changes since 1.128: +5 -2
lines
Diff to previous 1.128 (colored)
Extend struct malloc_type to count the number of active allocations
per size, and make vmstat report this information under the "Memory
statistics by type" display, which is only printed when the kernel
has been compiled with KMEMSTATS defined, like this:
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
wapbl 15 4192K 4192K 78644K 376426 0 0 32:0,256:3,512:6,131072:1,262144:2,524288:3
Since struct malloc_type is user-visible and is changed, bump kernel
revision to 5.99.26.
While it is true that malloc(9) is in general on the path of slowly
being replaced by kmem(9) (kmem_alloc/kmem_free), there remains a
lot of points of usage of malloc/free, and this could aid in finding
any leaks. (It helped finding the leak fixed in PR#42661.)
This was discussed with and somewhat hestitantly OKed by rmind@
Revision 1.119.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:17 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119.4.2: +4 -2
lines
Diff to previous 1.119.4.2 (colored) to branchpoint 1.119 (colored)
sync with head
Revision 1.121.4.1 / (download) - annotate - [select for diffs], Sun Feb 14 13:37:42 2010 UTC (2 years, 3 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.121: +4 -2
lines
Diff to previous 1.121 (colored) next main 1.122 (colored)
Pull up following revision(s) (requested by hubertf in ticket #1292): sys/kern/kern_malloc.c: revision 1.128 Let kernel build when MALLOCLOG is defined but DIAGNOSTIC is not. Else, hitmlog() is defined but not used, which triggers a warning.
Revision 1.128 / (download) - annotate - [select for diffs], Fri Jan 22 08:32:05 2010 UTC (2 years, 4 months ago) by hubertf
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.127: +4 -2
lines
Diff to previous 1.127 (colored)
Let kernel build when MALLOCLOG is defined but DIAGNOSTIC is not. Else, hitmlog() is defined but not used, which triggers a warning.
Revision 1.119.4.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:01 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119.4.1: +6 -2
lines
Diff to previous 1.119.4.1 (colored) to branchpoint 1.119 (colored)
sync with head
Revision 1.127 / (download) - annotate - [select for diffs], Sun Sep 13 18:45:11 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.126: +6 -2
lines
Diff to previous 1.126 (colored)
Wipe out the last vestiges of POOL_INIT with one swift stroke. In most cases, use a proper constructor. For proplib, give a local equivalent of POOL_INIT for the kernel object implementation. This way the code structure can be preserved, and a local link set is not hazardous anyway (unless proplib is split to several modules, but that'll be the day). tested by booting a kernel in qemu and compile-testing i386/ALL
Revision 1.119.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:46 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119: +48 -32
lines
Diff to previous 1.119 (colored)
sync with head.
Revision 1.121.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:38 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.121: +9 -8
lines
Diff to previous 1.121 (colored) next main 1.122 (colored)
Sync with HEAD.
Revision 1.117.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:18 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.2: +46 -8
lines
Diff to previous 1.117.6.2 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)
Sync with HEAD.
Revision 1.126 / (download) - annotate - [select for diffs], Wed Jan 7 21:06:31 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.125: +3 -3
lines
Diff to previous 1.125 (colored)
Missed realloc in previous. Ride 5.99.6 bump.
Revision 1.125 / (download) - annotate - [select for diffs], Mon Jan 5 21:42:37 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.124: +6 -6
lines
Diff to previous 1.124 (colored)
Rename malloc() to kern_malloc() to avoid name conflict with libc. Now it is possible to use the kernel linker with rump.
Revision 1.124 / (download) - annotate - [select for diffs], Sun Dec 21 17:49:55 2008 UTC (3 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.123: +2 -2
lines
Diff to previous 1.123 (colored)
undo turn malloc flags to enums. Requested by christos. Keep malloc flag defines in kernel section.
Revision 1.123 / (download) - annotate - [select for diffs], Fri Dec 19 21:22:01 2008 UTC (3 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.122: +4 -4
lines
Diff to previous 1.122 (colored)
Turn malloc flags into an enum. While here, move the flags definition into _KERNEL section.
Revision 1.119.10.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.119.10.1: +43 -5
lines
Diff to previous 1.119.10.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.122 / (download) - annotate - [select for diffs], Sun Dec 7 14:24:28 2008 UTC (3 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base
Changes since 1.121: +4 -3
lines
Diff to previous 1.121 (colored)
make this compile with MALLOC_DEBUG but w/o DEBUG
Revision 1.121 / (download) - annotate - [select for diffs], Sun Oct 26 12:23:28 2008 UTC (3 years, 6 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64
Changes since 1.120: +41 -4
lines
Diff to previous 1.120 (colored)
Extend the information that MALLOCLOG outputs to include the preceding buffer. This can be helpful in the case where a buffer overrun in the preceding region stomps on the following regions data.
Revision 1.119.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:27 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.119: +2 -24
lines
Diff to previous 1.119 (colored)
Sync with HEAD.
Revision 1.119.6.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:34:14 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.119: +2 -24
lines
Diff to previous 1.119 (colored) next main 1.120 (colored)
Sync with HEAD.
Revision 1.117.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:52 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.1: +0 -22
lines
Diff to previous 1.117.6.1 (colored) to branchpoint 1.117 (colored)
Sync with HEAD.
Revision 1.120 / (download) - annotate - [select for diffs], Thu Sep 25 16:23:45 2008 UTC (3 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
matt-mips64-base2,
haad-dm-base1
Changes since 1.119: +2 -24
lines
Diff to previous 1.119 (colored)
Move global malloc types from kern_malloc into a separate module.
Revision 1.105.4.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:41 2008 UTC (3 years, 11 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.105: +3 -3
lines
Diff to previous 1.105 (colored) next main 1.106 (colored)
Sync with netbsd-4.
Revision 1.117.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:01 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.117: +8 -6
lines
Diff to previous 1.117 (colored)
Sync with HEAD.
Revision 1.99.2.10 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:01 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.9: +6 -4
lines
Diff to previous 1.99.2.9 (colored) next main 1.100 (colored)
sync with head.
Revision 1.117.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:13 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.117: +8 -6
lines
Diff to previous 1.117 (colored) next main 1.118 (colored)
sync with head.
Revision 1.111.8.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:59 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.111.8.3: +8 -6
lines
Diff to previous 1.111.8.3 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)
sync with HEAD
Revision 1.119 / (download) - annotate - [select for diffs], Mon Mar 17 17:05:54 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
haad-dm
Changes since 1.118: +6 -4
lines
Diff to previous 1.118 (colored)
Make them compile again.
Revision 1.99.2.9 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:33 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.8: +4 -4
lines
Diff to previous 1.99.2.8 (colored)
sync with head.
Revision 1.118 / (download) - annotate - [select for diffs], Mon Mar 17 08:27:50 2008 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.117: +4 -4
lines
Diff to previous 1.117 (colored)
- simplify ASSERT_SLEEPABLE. - move it from proc.h to systm.h. - add some more checks. - make it a little more lkm friendly.
Revision 1.105.2.1 / (download) - annotate - [select for diffs], Fri Feb 22 21:38:26 2008 UTC (4 years, 3 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Changes since 1.105: +3 -3
lines
Diff to previous 1.105 (colored) next main 1.106 (colored)
Pull up following revision(s) (requested by yamt in ticket #1076): sys/kern/kern_malloc.c: revision 1.117 via patch malloc: fix freelist corruption.
Revision 1.112.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:46 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.112.4.2: +3 -3
lines
Diff to previous 1.112.4.2 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)
Sync with HEAD.
Revision 1.99.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:06 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.7: +3 -3
lines
Diff to previous 1.99.2.7 (colored)
sync with head
Revision 1.111.8.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:04 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.111.8.2: +6 -9
lines
Diff to previous 1.111.8.2 (colored) to branchpoint 1.111 (colored)
sync with HEAD
Revision 1.116.4.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:34 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.116: +3 -3
lines
Diff to previous 1.116 (colored) next main 1.117 (colored)
Sync with HEAD
Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 3 01:21:08 2008 UTC (4 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.116: +3 -3
lines
Diff to previous 1.116 (colored)
malloc: fix freelist corruption.
Revision 1.116.2.1 / (download) - annotate - [select for diffs], Mon Dec 10 12:56:09 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.116: +41 -2
lines
Diff to previous 1.116 (colored) next main 1.117 (colored)
- separate kernel va allocation (kernel_va_arena) from in-kernel fault handling (kernel_map). - add vmem bootstrap code. vmem doesn't rely on malloc anymore. - make kmem_alloc interrupt-safe. - kill kmem_map. make malloc a wrapper of kmem_alloc.
Revision 1.111.6.5 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:18 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.111.6.4: +3 -3
lines
Diff to previous 1.111.6.4 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)
Sync with HEAD.
Revision 1.112.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:29 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.112.4.1: +5 -4
lines
Diff to previous 1.112.4.1 (colored) to branchpoint 1.112 (colored)
Sync with HEAD.
Revision 1.115.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:41 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored) next main 1.116 (colored)
Sync with head.
Revision 1.99.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:45 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.6: +5 -4
lines
Diff to previous 1.99.2.6 (colored)
sync with head
Revision 1.116 / (download) - annotate - [select for diffs], Wed Dec 5 07:06:52 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-kmem,
bouyer-xeni386
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored)
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written for Solaris.
Revision 1.111.6.4 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:04 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.111.6.3: +4 -3
lines
Diff to previous 1.111.6.3 (colored) to branchpoint 1.111 (colored)
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.115 / (download) - annotate - [select for diffs], Mon Nov 26 11:48:55 2007 UTC (4 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base1,
vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.114: +4 -3
lines
Diff to previous 1.114 (colored)
free: fix size passed to LOCKDEBUG_MEM_CHECK.
Revision 1.112.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:40 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.112: +16 -17
lines
Diff to previous 1.112 (colored)
Sync with HEAD.
Revision 1.99.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:42 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.5: +16 -17
lines
Diff to previous 1.99.2.5 (colored)
sync with head.
Revision 1.111.6.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:41 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.111.6.2: +2 -6
lines
Diff to previous 1.111.6.2 (colored) to branchpoint 1.111 (colored)
Sync with HEAD.
Revision 1.112.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:05 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.112: +16 -17
lines
Diff to previous 1.112 (colored) next main 1.113 (colored)
Sync with HEAD
Revision 1.114 / (download) - annotate - [select for diffs], Sun Nov 11 23:22:23 2007 UTC (4 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.113: +2 -6
lines
Diff to previous 1.113 (colored)
Change some initialization of static queues to compile time. (xxx_INIT to xxx_HEAD_INITIALIZER). Drop code which inits non-auto (global or static) variables to 0 since that's already implied by being non-auto. Init some static/global cpu_simple_locks at compile time.
Revision 1.111.8.2 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:02 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.111.8.1: +16 -13
lines
Diff to previous 1.111.8.1 (colored) to branchpoint 1.111 (colored)
sync with -HEAD
Revision 1.111.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:43 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.111: +3 -8
lines
Diff to previous 1.111 (colored)
sync with HEAD
Revision 1.111.6.2 / (download) - annotate - [select for diffs], Tue Nov 6 21:16:24 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.111.6.1: +16 -13
lines
Diff to previous 1.111.6.1 (colored) to branchpoint 1.111 (colored)
Sync with HEAD.
Revision 1.113 / (download) - annotate - [select for diffs], Tue Nov 6 19:13:49 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.112: +16 -13
lines
Diff to previous 1.112 (colored)
Merge from vmlocking.
Revision 1.99.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:24 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.4: +3 -8
lines
Diff to previous 1.99.2.4 (colored)
sync with head.
Revision 1.108.2.5 / (download) - annotate - [select for diffs], Fri Oct 26 17:05:01 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.108.2.4: +12 -15
lines
Diff to previous 1.108.2.4 (colored) next main 1.109 (colored)
- malloc_lock must always be a spinlock. - Remove spl calls.
Revision 1.111.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:32 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.111: +3 -8
lines
Diff to previous 1.111 (colored)
Sync with HEAD. Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
Revision 1.111.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:41 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.111: +3 -8
lines
Diff to previous 1.111 (colored) next main 1.112 (colored)
sync with head.
Revision 1.112 / (download) - annotate - [select for diffs], Thu Oct 11 19:45:24 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Changes since 1.111: +3 -8
lines
Diff to previous 1.111 (colored)
Merge from vmlocking: - G/C spinlockmgr() and simple_lock debugging. - Always include the kernel_lock functions, for LKMs. - Slightly improved subr_lockdebug code. - Keep sizeof(struct lock) the same if LOCKDEBUG.
Revision 1.99.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:50 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.3: +31 -38
lines
Diff to previous 1.99.2.3 (colored)
sync with head.
Revision 1.108.2.4 / (download) - annotate - [select for diffs], Sun Jul 29 11:34:48 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.108.2.3: +6 -3
lines
Diff to previous 1.108.2.3 (colored)
Trap free() of areas that contain undestroyed locks. Not a major problem but it helps to catch bugs.
Revision 1.110.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:51 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.110: +5 -2
lines
Diff to previous 1.110 (colored) next main 1.111 (colored)
Sync with head.
Revision 1.108.2.3 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:20 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.108.2.2: +5 -2
lines
Diff to previous 1.108.2.2 (colored)
Sync with head.
Revision 1.106.2.4 / (download) - annotate - [select for diffs], Mon May 7 10:55:46 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.106.2.3: +5 -2
lines
Diff to previous 1.106.2.3 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)
sync with head.
Revision 1.111 / (download) - annotate - [select for diffs], Thu Apr 19 11:03:44 2007 UTC (5 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-idlelwp-base8,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-armv6,
jmcneill-pm
Changes since 1.110: +5 -2
lines
Diff to previous 1.110 (colored)
malloc: fix a deadlock.
Revision 1.106.2.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:02 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.106.2.2: +18 -28
lines
Diff to previous 1.106.2.2 (colored) to branchpoint 1.106 (colored)
sync with head.
Revision 1.108.2.2 / (download) - annotate - [select for diffs], Wed Mar 21 20:10:21 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.108.2.1: +3 -8
lines
Diff to previous 1.108.2.1 (colored)
GC the simplelock/spinlock debugging stuff.
Revision 1.108.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:54 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.108: +18 -28
lines
Diff to previous 1.108 (colored)
Sync with head.
Revision 1.110 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:33 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.109: +2 -4
lines
Diff to previous 1.109 (colored)
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
Revision 1.109 / (download) - annotate - [select for diffs], Mon Mar 12 16:42:14 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.108: +18 -26
lines
Diff to previous 1.108 (colored)
Use mutexes.
Revision 1.106.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:35 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.106.2.1: +13 -13
lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored)
Sync with HEAD.
Revision 1.108 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:05 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.107: +13 -13
lines
Diff to previous 1.107 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.106.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:22 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.106: +3 -3
lines
Diff to previous 1.106 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.99.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:07 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.2: +15 -4
lines
Diff to previous 1.99.2.2 (colored)
sync with head.
Revision 1.107 / (download) - annotate - [select for diffs], Thu Feb 22 06:34:43 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.106: +3 -3
lines
Diff to previous 1.106 (colored)
TRUE -> true, FALSE -> false
Revision 1.106 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:30 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.105: +14 -3
lines
Diff to previous 1.105 (colored)
Merge newlock2 to head.
Revision 1.102.4.2 / (download) - annotate - [select for diffs], Fri Jan 19 20:49:54 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.102.4.1: +14 -3
lines
Diff to previous 1.102.4.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)
Add some DEBUG code to check that items being freed were previously allocated from the same source. Needs to be enabled via DDB.
Revision 1.99.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:05 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.1: +56 -4
lines
Diff to previous 1.99.2.1 (colored)
sync with head.
Revision 1.102.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:44 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.102.6.1: +7 -7
lines
Diff to previous 1.102.6.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)
sync with head.
Revision 1.102.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:22 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.102: +54 -2
lines
Diff to previous 1.102 (colored)
Sync with head.
Revision 1.105 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-base-1,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: wrstuden-fixsa,
netbsd-4
Changes since 1.104: +7 -7
lines
Diff to previous 1.104 (colored)
remove some __unused from function parameters.
Revision 1.102.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:10 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.102: +59 -7
lines
Diff to previous 1.102 (colored)
sync with head
Revision 1.104 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:16 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.103: +7 -7
lines
Diff to previous 1.103 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.103 / (download) - annotate - [select for diffs], Mon Oct 2 02:59:38 2006 UTC (5 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.102: +54 -2
lines
Diff to previous 1.102 (colored)
remove details of the kernel malloc() implementation from header files: - change MALLOC() and FREE() to just call their function equivalents. - remove references to other malloc()-related constants.
Revision 1.101.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored) next main 1.102 (colored)
sync with head
Revision 1.101.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:46 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored) next main 1.102 (colored)
sync with head
Revision 1.102 / (download) - annotate - [select for diffs], Fri Jul 21 10:08:41 2006 UTC (5 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored)
use ASSERT_SLEEPABLE where appropriate.
Revision 1.99.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:37 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99: +4 -4
lines
Diff to previous 1.99 (colored)
sync with head.
Revision 1.101 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb
Changes since 1.100: +2 -2
lines
Diff to previous 1.100 (colored)
merge ktrace-lwp.
Revision 1.79.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.6: +14 -13
lines
Diff to previous 1.79.2.6 (colored) next main 1.80 (colored)
Sync with HEAD. Here we go again...
Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 5 13:18:32 2005 UTC (6 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Changes since 1.99: +4 -4
lines
Diff to previous 1.99 (colored)
Fix wording in a comment.
Revision 1.99 / (download) - annotate - [select for diffs], Mon May 30 23:04:53 2005 UTC (6 years, 11 months ago) by chs
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.98: +12 -11
lines
Diff to previous 1.98 (colored)
rename "kbucket" to "kmembuckets", for greater clarity. don't forget to update vmstat this time.
Revision 1.98 / (download) - annotate - [select for diffs], Mon May 30 04:15:17 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.97: +11 -11
lines
Diff to previous 1.97 (colored)
finish bucket -> kbucket change
Revision 1.95.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:23 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.95: +17 -14
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
sync with -current
Revision 1.79.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:30:56 2005 UTC (7 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.5: +11 -8
lines
Diff to previous 1.79.2.5 (colored)
Sync with HEAD.
Revision 1.97 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:37 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.96: +11 -8
lines
Diff to previous 1.96 (colored)
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
Revision 1.95.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.95.4.1: +8 -8
lines
Diff to previous 1.95.4.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.79.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:58 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.4: +8 -8
lines
Diff to previous 1.79.2.4 (colored)
Sync with HEAD. Hi Perry!
Revision 1.96 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.95: +8 -8
lines
Diff to previous 1.95 (colored)
nuke trailing whitespace
Revision 1.95.4.1 / (download) - annotate - [select for diffs], Tue Jan 25 12:59:35 2005 UTC (7 years, 4 months ago) by yamt
Branch: yamt-km
Changes since 1.95: +11 -8
lines
Diff to previous 1.95 (colored)
convert to new apis.
Revision 1.79.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:25 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.3: +7 -15
lines
Diff to previous 1.79.2.3 (colored)
Sync with HEAD.
Revision 1.95 / (download) - annotate - [select for diffs], Fri Jan 14 17:03:58 2005 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec
Branch point for: yamt-km,
kent-audio2
Changes since 1.94: +3 -3
lines
Diff to previous 1.94 (colored)
Cast nkmempages to vsize_t before shifting to avoid overflow. Requested by soda. XXX: should be pulled up to 2.0.
Revision 1.94 / (download) - annotate - [select for diffs], Thu Jan 13 11:49:09 2005 UTC (7 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.93: +3 -12
lines
Diff to previous 1.93 (colored)
kmeminit_nkmempages: don't limit the size of kmem_map to physmem/4 because, while there's little benefit to do so, it easily causes "out of space in kmem_map" panic on machines with small memory.
Revision 1.93 / (download) - annotate - [select for diffs], Sat Jan 1 21:08:02 2005 UTC (7 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Changes since 1.92: +3 -2
lines
Diff to previous 1.92 (colored)
in the case of !PMAP_MAP_POOLPAGE, gather pool backend allocations to large chunks for kernel_map and kmem_map to ease kva fragmentation.
Revision 1.92 / (download) - annotate - [select for diffs], Sat Jan 1 21:02:13 2005 UTC (7 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.91: +3 -3
lines
Diff to previous 1.91 (colored)
introduce vm_map_kernel, a subclass of vm_map, and move some kernel-only members of vm_map to it.
Revision 1.91 / (download) - annotate - [select for diffs], Sat Jan 1 03:24:43 2005 UTC (7 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.90: +3 -3
lines
Diff to previous 1.90 (colored)
Spell "available" correctly.
Revision 1.79.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:05 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.2: +2 -2
lines
Diff to previous 1.79.2.2 (colored)
Fix the sync with head I botched.
Revision 1.79.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79.2.1: +3 -2
lines
Diff to previous 1.79.2.1 (colored)
Sync with HEAD.
Revision 1.90 / (download) - annotate - [select for diffs], Sat Sep 4 23:30:07 2004 UTC (7 years, 8 months ago) by manu
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.89: +3 -2
lines
Diff to previous 1.89 (colored)
IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on tech-net@
Revision 1.79.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:47 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.79: +96 -22
lines
Diff to previous 1.79 (colored)
Sync with HEAD
Revision 1.89 / (download) - annotate - [select for diffs], Thu Oct 30 01:58:18 2003 UTC (8 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.88: +2 -4
lines
Diff to previous 1.88 (colored)
Remove some assigned-to but otherwise unused variables.
Revision 1.88 / (download) - annotate - [select for diffs], Sat Sep 27 23:10:47 2003 UTC (8 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.87: +5 -4
lines
Diff to previous 1.87 (colored)
A nit I ran into while copying this code for something else...
Revision 1.87 / (download) - annotate - [select for diffs], Tue Sep 23 16:36:59 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
Avoid a type punning warning in the MALLOC_DEBUG case.
Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 3 11:13:14 2003 UTC (8 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.85: +7 -7
lines
Diff to previous 1.85 (colored)
Do correct pointer casts.
Revision 1.85 / (download) - annotate - [select for diffs], Sun Aug 31 12:59:05 2003 UTC (8 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.84: +3 -2
lines
Diff to previous 1.84 (colored)
Fix error in previous commit: the first vaddr_t argument to uvm_km_suballoc is in/out, so it must be zeroed out before passing it, otherwise the uvm_km_suballoc call would get stack garbage, and fail randomly.
Revision 1.84 / (download) - annotate - [select for diffs], Sat Aug 30 07:54:32 2003 UTC (8 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.83: +7 -4
lines
Diff to previous 1.83 (colored)
Do not cast a pointer to a pointer with different basic type when given as function argument. It makes assumptions about pointer internals that do not necessarily have to be true.
Revision 1.83 / (download) - annotate - [select for diffs], Thu Aug 28 14:54:32 2003 UTC (8 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.82: +4 -4
lines
Diff to previous 1.82 (colored)
Use vm_map_{min,max}() rather than accessing struct vm_map.header.{start,end}
directly.
Revision 1.82 / (download) - annotate - [select for diffs], Tue Aug 26 21:48:53 2003 UTC (8 years, 9 months ago) by manu
Branch: MAIN
Changes since 1.81: +44 -2
lines
Diff to previous 1.81 (colored)
Added a malloc freelist sanity check function, for debugging purposes
Revision 1.81 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:46 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.80: +32 -3
lines
Diff to previous 1.80 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.80 / (download) - annotate - [select for diffs], Sat Aug 2 07:08:02 2003 UTC (8 years, 9 months ago) by manu
Branch: MAIN
Changes since 1.79: +7 -7
lines
Diff to previous 1.79 (colored)
Build again with MALLOCLOG
Revision 1.71.4.1 / (download) - annotate - [select for diffs], Mon Jun 2 14:30:26 2003 UTC (8 years, 11 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Changes since 1.71: +5 -4
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
Pull up revision 1.73 (requested by skrll): add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to return failure if swap is full and there are no free physical pages. have malloc() use this flag if M_CANFAIL is passed to it. use M_CANFAIL to allow amap_extend() to fail when memory is scarce. this should prevent most of the remaining hangs in low-memory situations.
Revision 1.79 / (download) - annotate - [select for diffs], Tue May 6 18:07:57 2003 UTC (9 years ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.78: +10 -2
lines
Diff to previous 1.78 (colored)
In the KMEMSTATS && DIAGNOSTIC case, add a check for inuse already being 0 at free() time. This will at least catch an alloc/free mismatch early in boot, rather than having it hang hard because of a wrapped ks_limit.
Revision 1.78 / (download) - annotate - [select for diffs], Fri Feb 14 21:51:36 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.77: +14 -3
lines
Diff to previous 1.77 (colored)
Make the memory allocation code MP-safe.
Revision 1.77 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:43 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +154 -55
lines
Diff to previous 1.76 (colored)
Add extensible malloc types, adapted from FreeBSD. This turns malloc types into a structure, a pointer to which is passed around, instead of an int constant. Allow the limit to be adjusted when the malloc type is defined, or with a function call, as suggested by Jonathan Stone.
Revision 1.57.2.10 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:46 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.57.2.9: +7 -7
lines
Diff to previous 1.57.2.9 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)
Catch up to -current
Revision 1.76 / (download) - annotate - [select for diffs], Sun Nov 10 03:35:31 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.75: +9 -9
lines
Diff to previous 1.75 (colored)
Avoid signed/unsigned comparison and strict alias warnings.
Revision 1.57.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:44:52 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.8: +1 -2
lines
Diff to previous 1.57.2.8 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.61.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:08 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.61.2.4: +6 -6
lines
Diff to previous 1.61.2.4 (colored) next main 1.62 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.75 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:45 2002 UTC (9 years, 8 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Changes since 1.74: +3 -3
lines
Diff to previous 1.74 (colored)
remove trailing \n in panic(). approved perry.
Revision 1.74 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:43 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +2 -3
lines
Diff to previous 1.73 (colored)
Don't include <sys/map.h>.
Revision 1.57.2.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:06 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.7: +3 -2
lines
Diff to previous 1.57.2.7 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.73 / (download) - annotate - [select for diffs], Sun Sep 15 16:54:26 2002 UTC (9 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.72: +5 -4
lines
Diff to previous 1.72 (colored)
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to return failure if swap is full and there are no free physical pages. have malloc() use this flag if M_CANFAIL is passed to it. use M_CANFAIL to allow amap_extend() to fail when memory is scarce. this should prevent most of the remaining hangs in low-memory situations.
Revision 1.61.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:50 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.61.2.3: +3 -3
lines
Diff to previous 1.61.2.3 (colored)
sync kqueue branch with HEAD
Revision 1.71.2.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:07 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
catch up with -current.
Revision 1.57.2.7 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:24 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.6: +1 -1
lines
Diff to previous 1.57.2.6 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.72 / (download) - annotate - [select for diffs], Sun Aug 25 21:19:41 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored)
Fix a signed/unsigned comparison warning from GCC 3.3.
Revision 1.61.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:29 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.61.2.2: +3 -2
lines
Diff to previous 1.61.2.2 (colored)
catch up with -current on kqueue branch
Revision 1.57.2.6 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:18 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.5: +3 -2
lines
Diff to previous 1.57.2.5 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Apr 3 09:45:22 2002 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6,
gehenna-devsw
Changes since 1.70: +3 -2
lines
Diff to previous 1.70 (colored)
Include opt_malloc_debug.h so that debug_malloc will actually be used when enabled, thankyouverymuch.
Revision 1.70.4.1 / (download) - annotate - [select for diffs], Fri Mar 22 18:59:31 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.70: +17 -11
lines
Diff to previous 1.70 (colored) next main 1.71 (colored)
Protect malloc internals with a spin mutex at IPL_VM.
Revision 1.61.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:50 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.61.2.1: +66 -69
lines
Diff to previous 1.61.2.1 (colored)
Sync kqueue branch with -current.
Revision 1.57.2.5 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:33 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.4: +63 -69
lines
Diff to previous 1.57.2.4 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Dec 5 01:29:04 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: newlock-base,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock
Changes since 1.69: +15 -2
lines
Diff to previous 1.69 (colored)
Introduce new function malloc_roundup(), suggested by Bill Sommerfeld on tech-kern.
Revision 1.69 / (download) - annotate - [select for diffs], Tue Dec 4 23:56:36 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.68: +46 -67
lines
Diff to previous 1.68 (colored)
KNF and other cosmetic changes.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Dec 4 20:13:19 2001 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.67: +3 -3
lines
Diff to previous 1.67 (colored)
Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOK case when the requested memory size can't ever be granted - instead of panic, malloc(9) would return failure (NULL). Note kernel code should do proper bound checking, rather than depend on M_CANFAIL. This flag is only supposed to be used in very special cases, where common bound checking is not appropriate. Discussed on tech-kern@, name ``M_CANFAIL'' suggested by Chuck Cranor.
Revision 1.67 / (download) - annotate - [select for diffs], Fri Nov 30 01:54:21 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.66: +3 -3
lines
Diff to previous 1.66 (colored)
Since we know that `va' is non-NULL here, no need to test if it is NULL.
Revision 1.66 / (download) - annotate - [select for diffs], Wed Nov 21 01:30:04 2001 UTC (10 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.65: +3 -3
lines
Diff to previous 1.65 (colored)
Use round_page() instead of roundup(, PAGE_SIZE). Suggested by chs@netbsd.org.
Revision 1.65 / (download) - annotate - [select for diffs], Sat Nov 17 03:50:28 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.64: +4 -2
lines
Diff to previous 1.64 (colored)
Add new malloc(9) flag M_ZERO - zeros memory before returning. From Poul-Henning Kamp's equivalent enhancement in FreeBSD.
Revision 1.57.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:36 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.3: +4 -1
lines
Diff to previous 1.57.2.3 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:48 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.63: +4 -1
lines
Diff to previous 1.63 (colored) next main 1.64 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.64 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:12 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.63: +4 -1
lines
Diff to previous 1.63 (colored)
add RCSIDs
Revision 1.62.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:50 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored) next main 1.63 (colored)
Catch up with -current.
Revision 1.57.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:25 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.2: +3 -3
lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored)
Catch up to -current.
Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:36 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is
required now, since I've removed the globals that expose the address range.
pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
no longer any need to special-case it.
- eliminate struct uvm_vnode by moving its fields into struct vnode.
- rewrite the pageout path. the pager is now responsible for handling the
high-level requests instead of only getting control after a bunch of work
has already been done on its behalf. this will allow us to UBCify LFS,
which needs tighter control over its pages than other filesystems do.
writing a page to disk no longer requires making it read-only, which
allows us to write wired pages without causing all kinds of havoc.
- use a new PG_PAGEOUT flag to indicate that a page should be freed
on behalf of the pagedaemon when it's unlocked. this flag is very similar
to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
pageout fails due to eg. an indirect-block buffer being locked.
this allows us to remove the "version" field from struct vm_page,
and together with shrinking "loan_count" from 32 bits to 16,
struct vm_page is now 4 bytes smaller.
- no longer use PG_RELEASED for swap-backed pages. if the page is busy
because it's being paged out, we can't release the swap slot to be
reallocated until that write is complete, but unlike with vnodes we
don't keep a count of in-progress writes so there's no good way to
know when the write is done. instead, when we need to free a busy
swap-backed page, just sleep until we can get it busy ourselves.
- implement a fast-path for extending writes which allows us to avoid
zeroing new pages. this substantially reduces cpu usage.
- encapsulate the data used by the genfs code in a struct genfs_node,
which must be the first element of the filesystem-specific vnode data
for filesystems which use genfs_{get,put}pages().
- eliminate many of the UVM pagerops, since they aren't needed anymore
now that the pager "put" operation is a higher-level operation.
- enhance the genfs code to allow NFS to use the genfs_{get,put}pages
instead of a modified copy.
- clean up struct vnode by removing all the fields that used to be used by
the vfs_cluster.c code (which we don't use anymore with UBC).
- remove kmem_object and mb_object since they were useless.
instead of allocating pages to these objects, we now just allocate
pages with no object. such pages are mapped in the kernel until they
are freed, so we can use the mapping to find the page to free it.
this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:47 2001 UTC (10 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.61: +13 -1
lines
Diff to previous 1.61 (colored)
Merge Aug 24 -current into the kqueue branch.
Revision 1.57.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:29 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57.2.1: +17 -4
lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored)
Catch up with -current.
Revision 1.62 / (download) - annotate - [select for diffs], Fri Aug 17 00:48:30 2001 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.61: +13 -1
lines
Diff to previous 1.61 (colored)
Artur Grabowski's simple brute-force malloc debugger, which uses guard pages. Can only debug one malloc type at a time, and nothing larger than 1 page. But can be useful for debugging certain types of "data modified on freelist" type problems. Modified from code in OpenBSD.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 26 17:55:14 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.60: +3 -3
lines
Diff to previous 1.60 (colored)
Reduce some complexity in the fault path -- Rather than maintaining an spl-protected "interrupt safe map" list, simply require that callers of uvm_fault() never call us in interrupt context (MD code must make the assertion), and check for interrupt-safe maps in uvmfault_lookup() before we lock the map.
Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 26 16:02:27 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +3 -2
lines
Diff to previous 1.59 (colored)
Make the kmemstats limits unsigned, and use unsigned arithmetic to compute them. Prevents overflows when using a very large number of kmem pages. From chopps@netbsd.org.
Revision 1.57.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:52 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.57: +11 -2
lines
Diff to previous 1.57 (colored)
Catch up to -current.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 5 04:39:02 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +10 -1
lines
Diff to previous 1.58 (colored)
Assert that no locks are held if we're called with M_WAITOK.
Revision 1.58 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:25 2001 UTC (10 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.57: +2 -2
lines
Diff to previous 1.57 (colored)
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
Revision 1.45.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:46 2001 UTC (11 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.3: +3 -3
lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)
Sync with HEAD.
Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 18 20:28:18 2001 UTC (11 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
constify
Revision 1.45.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:43 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.2: +2 -2
lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 14 02:08:35 2001 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +3 -3
lines
Diff to previous 1.55 (colored)
Use splvm(), not the home-grown splmem().
Revision 1.45.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:13:54 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.1: +5 -1
lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)
Sync with HEAD.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 24 00:34:32 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.54: +5 -1
lines
Diff to previous 1.54 (colored)
ifdef DEBUG, increase the max size we'll overwrite in freed memory blocks to detect modifications after frees from 32 bytes to 1 page.
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:01 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45: +114 -38
lines
Diff to previous 1.45 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.54 / (download) - annotate - [select for diffs], Tue Jun 27 17:41:22 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.53: +1 -3
lines
Diff to previous 1.53 (colored)
remove include of <vm/vm.h>
Revision 1.53 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:14 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.52: +1 -2
lines
Diff to previous 1.52 (colored)
remove/move more mach vm header files: <vm/pglist.h> -> <uvm/uvm_pglist.h> <vm/vm_inherit.h> -> <uvm/uvm_inherit.h> <vm/vm_kern.h> -> into <uvm/uvm_extern.h> <vm/vm_object.h> -> nothing <vm/vm_pager.h> -> into <uvm/uvm_pager.h> also includes a bunch of <vm/vm_page.h> include removals (due to redudancy with <vm/vm.h>), and a scattering of other similar headers.
Revision 1.52 / (download) - annotate - [select for diffs], Fri May 26 23:18:26 2000 UTC (12 years ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (colored)
Improve #error message slightly.
Revision 1.51 / (download) - annotate - [select for diffs], Mon May 8 20:02:21 2000 UTC (12 years ago) by thorpej
Branch: MAIN
Changes since 1.50: +9 -10
lines
Diff to previous 1.50 (colored)
__predict_false() the check for bogus malloc type, running out of space in kmem_map, and the DIAGNOSTIC error checks.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:11 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.49: +11 -11
lines
Diff to previous 1.49 (colored)
Get rid of register declarations.
Revision 1.49 / (download) - annotate - [select for diffs], Fri Feb 11 19:22:52 2000 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.48: +83 -14
lines
Diff to previous 1.48 (colored)
Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
Revision 1.48 / (download) - annotate - [select for diffs], Tue Feb 1 19:37:58 2000 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +12 -1
lines
Diff to previous 1.47 (colored)
Add a sanity check to ensure that a region being free()'d is actually within the KVA range malloc() would return.
Revision 1.45.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:51 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.45: +12 -12
lines
Diff to previous 1.45 (colored) next main 1.46 (colored)
Pull up to last week's -current.
Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 3 21:43:20 1999 UTC (12 years, 5 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.46: +10 -10
lines
Diff to previous 1.46 (colored)
First round of discarding the CL* macros.
Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:09 1999 UTC (12 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
Add Kirk McKusick's soft updates code to the trunk. Not enabled by default, as the copyright on the main file (ffs_softdep.c) is such that is has been put into gnusrc. options SOFTDEP will pull this in. This code also contains the trickle syncer. Bump version number to 1.4O
Revision 1.45.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 12:50:02 1999 UTC (12 years, 7 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored) next main 1.46 (colored)
Bring in Kirk McKusick's FFS softdep code on a branch.
Revision 1.41.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:19:13 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.41.4.1: +1 -15
lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)
Update from trunk.
Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 19 03:17:42 1999 UTC (12 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.44: +1 -15
lines
Diff to previous 1.44 (colored)
remove simplelockrecurse, it's no longer needed.
Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:01 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.41: +5 -5
lines
Diff to previous 1.41 (colored)
Sync w/ -current.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 4 23:38:42 1999 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +3 -3
lines
Diff to previous 1.43 (colored)
Keep interrupt-safe maps on an additional queue. In uvm_fault(), if we're looking up a kernel address, check to see if the address is on this "interrupt-safe" list. If so, return failure immediately. This prevents a locking screw if a page fault is taken on an interrupt-safe map in or out of interrupt context.
Revision 1.43 / (download) - annotate - [select for diffs], Fri May 28 19:40:09 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
Don't use a read lock on an intrsafe map; these maps can only use exclusive, non-sleeping locks.
Revision 1.42 / (download) - annotate - [select for diffs], Wed May 26 19:16:36 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.41: +2 -2
lines
Diff to previous 1.41 (colored)
Change the vm_map's "entries_pageable" member to a r/o flags member, which has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable", not "allocate vm_map_entry's from non-static pool", so update all map creations to reflect that. INTRSAFE maps are maps that are used in interrupt context (e.g. kmem_map, mb_map), and thus use the static map entry pool (XXX as does kernel_map, for now). This will eventually change now these maps are locked, as well.
Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:23 1999 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Changes since 1.40: +7 -33
lines
Diff to previous 1.40 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 22 07:55:49 1999 UTC (13 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.39: +2 -2
lines
Diff to previous 1.39 (colored)
avoid math on void *.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 2 20:35:28 1998 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.38: +31 -1
lines
Diff to previous 1.38 (colored)
Add dump_kmemstats(), callable from DDB to show kmem statistics. From Chuck Silvers via Chuck Cranor.
Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 4 06:19:56 1998 UTC (13 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: chs-ubc-base,
chs-ubc
Changes since 1.37: +7 -1
lines
Diff to previous 1.37 (colored)
LOCKDEBUG enhancements for non-MP: keep a list of locked locks. use this to print where the lock was locked when we either go to sleep with a lock held or try to free a locked lock.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 12 17:20:02 1998 UTC (13 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (colored)
Make copyrights consistent; fix weird/trailing spaces add missing (c) etc.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 18 06:11:35 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -2
lines
Diff to previous 1.35 (colored)
Add some braces to make egcs happy (ambiguous else warning).
Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:57 1998 UTC (13 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.34: +12 -12
lines
Diff to previous 1.34 (colored)
Merge paddr_t changes into the main branch.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:13 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored)
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. bcopy(x, y, z) -> memcpy(y, x, z) ovbcopy(x, y, z) -> memmove(y, x, z) bcmp(x, y, z) -> memcmp(x, y, z) bzero(x, y) -> memset(x, 0, y)
Revision 1.33.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:04 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.33: +12 -12
lines
Diff to previous 1.33 (colored) next main 1.34 (colored)
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.33 / (download) - annotate - [select for diffs], Wed May 20 01:32:30 1998 UTC (14 years ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.32: +2 -1
lines
Diff to previous 1.32 (colored)
defopt LOCKDEBUG
Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:29 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.31: +16 -2
lines
Diff to previous 1.31 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:12:58 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +16 -1
lines
Diff to previous 1.1.1.2 (colored)
Import 4.4BSD-Lite2
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:40 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1,
date-03-may-96
Changes since 1.1.1.1: +160 -35
lines
Diff to previous 1.1.1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 10 14:09:34 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.30: +3 -1
lines
Diff to previous 1.30 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 8 06:15:57 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
Allow callers of uvm_km_suballoc() to specify where the base of the submap _must_ begin, by adding a "fixed" boolean argument.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 7 02:40:36 1998 UTC (14 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.28: +16 -3
lines
Diff to previous 1.28 (colored)
fix a locking problem by replacing the call to uvm_kernacc() with an inlined version that uses kmem_map instead of kernel_map.
Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 5 07:59:51 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.27: +32 -2
lines
Diff to previous 1.27 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the rest of the MI portion changes. this will be KNF'd shortly. :-)
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 21 22:24:33 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +103 -1
lines
Diff to previous 1.26 (colored)
Implement an activity log for malloc() and free(), useful for tracking down "Data modified on freelist" and "muliple free" problems. The log is activated by the MALLOCLOG option, and the size of the event ring buffer is controlable via the MALLOGLOGSIZE option (default is 100000 entries). From Chris Demetriou, cleaned up a little by me per suggestions in the e-mail from Chris that contained the code.
Revision 1.24.8.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:26:00 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Update marc-pcmcia branch from trunk.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 9 13:05:59 1997 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-base
Changes since 1.25: +2 -2
lines
Diff to previous 1.25 (colored)
Add another bit of const poisoning.
Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 9 13:02:18 1997 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
Make memname[] const (but only shallow, since the array may be modified).
Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 2 21:22:16 1997 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
mrg-vm-swap,
marc-pcmcia-bp,
is-newarp-before-merge,
is-newarp-base,
is-newarp,
bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.23: +3 -1
lines
Diff to previous 1.23 (colored)
KMEMSTATS is a header option; pull in "opt_kmemstats.h".
Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 30 06:50:46 1997 UTC (15 years, 3 months ago) by tls
Branch: MAIN
Changes since 1.22: +3 -1
lines
Diff to previous 1.22 (colored)
add #ifdef KMEMSTATS around variable otherwise unused; now compiles with KMEMSTATS turned off.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 13 02:32:32 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.21: +4 -4
lines
Diff to previous 1.21 (colored)
backout previous kprintf change
Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:15 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.20: +11 -10
lines
Diff to previous 1.20 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 27 20:01:42 1996 UTC (15 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.19: +85 -1
lines
Diff to previous 1.19 (colored)
implement realloc(), just like the user-land version, except it takes "type" and "flags" arguments a la kernel malloc().
Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 13 23:25:10 1996 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +6 -5
lines
Diff to previous 1.18 (colored)
Inside some DIAGNOSTIC code, cast some pointer arithmetic results to long to quiet the compiler.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 10 18:15:29 1996 UTC (15 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
print difference between pointers with %ld, so that -Wformat works on the Alpha and for consistency. Also, other minor formatting cleanups.
Revision 1.15.4.2 / (download) - annotate - [select for diffs], Thu Jun 13 17:10:56 1996 UTC (15 years, 11 months ago) by cgd
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Changes since 1.15.4.1: +11 -1
lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)
pull up from trunk: >handle the case where kmem_malloc() returns NULL in the 'can wait' case. >Right now, this code just panic()s (same as kmem_malloc() used to do >before, but different message), but in the future it should be modified >to try to reclaim wasted memory.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 13 16:53:34 1996 UTC (15 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.16: +11 -1
lines
Diff to previous 1.16 (colored)
handle the case where kmem_malloc() returns NULL in the 'can wait' case. Right now, this code just panic()s (same as kmem_malloc() used to do before, but different message), but in the future it should be modified to try to reclaim wasted memory.
Revision 1.15.4.1 / (download) - annotate - [select for diffs], Thu Jun 6 19:14:30 1996 UTC (15 years, 11 months ago) by cgd
Branch: netbsd-1-2
Changes since 1.15: +3 -2
lines
Diff to previous 1.15 (colored)
pull up from trunk: >Fix a bug where free()ing an already-free block, or even a block that looked >like it might have already been freed, would cause a crash because of a bad >pointer dereference. Pointed out by Brian Noble <bnoble@cs.cmu.edu>.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 6 19:13:32 1996 UTC (15 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.15: +3 -2
lines
Diff to previous 1.15 (colored)
Fix a bug where free()ing an already-free block, or even a block that looked like it might have already been freed, would cause a crash because of a bad pointer dereference. Pointed out by Brian Noble <bnoble@cs.cmu.edu>.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 16 23:17:06 1996 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
Fix printf() formats.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 20 23:56:16 1996 UTC (16 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.13: +3 -4
lines
Diff to previous 1.13 (colored)
when printing data modified on the free list: (1) do not cast it to (void *), and (2) print it as 0x%x, rather than %p. This is not perfect (because the data being printed is "int32_t"-sized), but is more correct than printing it as a pointer because the data is _not_ a pointer, it is data to be printed in hex, and on some systems, pointers are wider than the data items being printed, which leads to excess and misleading output. The only 'right' solution to this is to have a printf specifier that prints the fixed-sized types the right way, and that's not really practical.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 9 18:59:39 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.12: +1 -3
lines
Diff to previous 1.12 (colored)
More proto fixes
Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 4 02:15:48 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.11: +8 -3
lines
Diff to previous 1.11 (colored)
First pass at prototyping
Revision 1.11 / (download) - annotate - [select for diffs], Mon May 1 22:39:11 1995 UTC (17 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.10: +36 -23
lines
Diff to previous 1.10 (colored)
make this work sanely on a 64-bit machine. Sacrifices a small bit of error checking in the DIAGNOSTIC case. These changes might be backed out, if it's decided that MINBUCKET should be 5 (rather than 4) on the alpha. However, doing that has its own set of nasty consequences.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 19 23:44:44 1995 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +4 -4
lines
Diff to previous 1.9 (colored)
Use %p.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:33 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.8: +3 -2
lines
Diff to previous 1.8 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.8 / (download) - annotate - [select for diffs], Fri May 13 08:32:17 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.7: +154 -35
lines
Diff to previous 1.7 (colored)
new kernel malloc. much better (but slower) diagnostic checking
Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 18 04:20:47 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +9 -8
lines
Diff to previous 1.6 (colored)
Canonicalize all #includes.
Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Nov 14 20:31:59 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.6.4.1: +9 -9
lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Canonicalize all #includes.
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:08 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.6: +4 -1
lines
Diff to previous 1.6 (colored)
Make all files using spl*() #include cpu.h. Changes from trunk. init_main.c: New method of pseudo-device of initialization. kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe. softclock() only does callouts. kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of averunnable for new struct loadav. subr_prf.c: Allow printf() formats in panic(). tty.c: averunnable changes. vfs_subr.c: va_size and va_bytes are now quads.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 15 13:33:23 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
magnum-base
Branch point for: magnum
Changes since 1.5: +3 -15
lines
Diff to previous 1.5 (colored)
get rid of bogus retrymalloc code (and it was bogus)...
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:38 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.4: +8 -3
lines
Diff to previous 1.4 (colored)
ANSIfications - removed all implicit function return types and argument definitions. Ensured that all files include "systm.h" to gain access to general prototypes. Casts where necessary.
Revision 1.4 / (download) - annotate - [select for diffs], Thu May 27 14:35:22 1993 UTC (19 years ago) by deraadt
Branch: MAIN
Changes since 1.3: +15 -3
lines
Diff to previous 1.3 (colored)
patches to make kernel malloc() retryable. from <MDICKSON@CSI.compuserve.com>
Revision 1.3 / (download) - annotate - [select for diffs], Tue May 25 18:04:25 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
fix dependencies on M_LAST's old off-by-one error... (arguably, the old error wasn't an error, but, given some of the old usage of M_LAST and its name, i say it was)
Revision 1.2 / (download) - annotate - [select for diffs], Thu May 20 02:54:29 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
add $Id$ strings, and clean up file headers where necessary
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision