Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.72.34.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:27 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.72: +11 -20
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
sync with head
Revision 1.72.38.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:32 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.72: +11 -20
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
merge to -current.
Revision 1.75 / (download) - annotate - [select for diffs], Sun Jan 29 11:14:49 2012 UTC (3 months, 3 weeks ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
HEAD
Changes since 1.74: +2 -3
lines
Diff to previous 1.74 (colored)
remove left over macro after kmem_map is gone
Revision 1.74 / (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.73: +2 -9
lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:09 2012 UTC (3 months, 4 weeks ago) by para
Branch: MAIN
Changes since 1.72: +11 -12
lines
Diff to previous 1.72 (colored)
converting extent(9) from malloc(9) to kmem(9) preceding kmem-vmem-pool-uvm patch releng@ acknowledged
Revision 1.69.12.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.12.1: +0 -7
lines
Diff to previous 1.69.12.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)
Sync with HEAD.
Revision 1.71.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:09 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.71: +2 -9
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
sync with head.
Revision 1.71.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:26 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.71: +2 -9
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
sync with head.
Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
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,
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,
netbsd-5,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.71: +2 -9
lines
Diff to previous 1.71 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.69.12.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:03 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.69: +8 -6
lines
Diff to previous 1.69 (colored)
Sync with HEAD.
Revision 1.52.2.6 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.5: +6 -4
lines
Diff to previous 1.52.2.5 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)
sync with head.
Revision 1.69.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.69: +8 -6
lines
Diff to previous 1.69 (colored) next main 1.70 (colored)
sync with head.
Revision 1.68.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.68.8.1: +8 -6
lines
Diff to previous 1.68.8.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)
sync with HEAD
Revision 1.71 / (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-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.70: +6 -4
lines
Diff to previous 1.70 (colored)
Make them compile again.
Revision 1.52.2.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.4: +4 -4
lines
Diff to previous 1.52.2.4 (colored) to branchpoint 1.52 (colored)
sync with head.
Revision 1.70 / (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.69: +4 -4
lines
Diff to previous 1.69 (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.68.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:16 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored)
sync with HEAD
Revision 1.69.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.69: +4 -3
lines
Diff to previous 1.69 (colored) next main 1.70 (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.68.6.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:23 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
Sync with HEAD.
Revision 1.68.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:36 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
Sync with HEAD.
Revision 1.68.16.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:45 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
Sync with head.
Revision 1.52.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:05 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.3: +4 -4
lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored)
sync with head
Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 5 07:06:54 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,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Branch point for: yamt-kmem,
mjf-devfs2,
keiichi-mipv6
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored)
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written for Solaris.
Revision 1.52.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:02 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.2: +82 -102
lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)
sync with head.
Revision 1.62.2.4 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:56 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.3: +12 -14
lines
Diff to previous 1.62.2.3 (colored) next main 1.63 (colored)
Sync with head.
Revision 1.63.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:04 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.63: +79 -99
lines
Diff to previous 1.63 (colored) next main 1.64 (colored)
Sync with head.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Jul 10 22:58:54 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-armv6,
jmcneill-pm
Changes since 1.67: +12 -14
lines
Diff to previous 1.67 (colored)
Make the regression test build again.
Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:55 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.66: +74 -92
lines
Diff to previous 1.66 (colored)
Merge some of the less invasive changes from the vmlocking branch: - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Revision 1.66 / (download) - annotate - [select for diffs], Thu May 17 14:51:41 2007 UTC (5 years ago) by yamt
Branch: MAIN
Changes since 1.65: +8 -8
lines
Diff to previous 1.65 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.62.2.3 / (download) - annotate - [select for diffs], Sun May 13 17:36:36 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.62.2.2: +75 -87
lines
Diff to previous 1.62.2.2 (colored)
- Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
Revision 1.61.4.3 / (download) - annotate - [select for diffs], Sat Mar 24 15:13:43 2007 UTC (5 years, 2 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.61.4.2: +8 -8
lines
Diff to previous 1.61.4.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)
splhigh -> splvm
Revision 1.61.4.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:04 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.61.4.1: +3 -3
lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:57 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.1: +2 -8
lines
Diff to previous 1.62.2.1 (colored)
Pull in the initial set of changes for the vmlocking branch.
Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:56 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
Sync with head.
Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 13 15:59:47 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Changes since 1.64: +0 -4
lines
Diff to previous 1.64 (colored)
Revert previous now that simplelock.h has been fixed.
Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 13 13:25:57 2007 UTC (5 years, 2 months ago) by dogcow
Branch: MAIN
Changes since 1.63: +6 -2
lines
Diff to previous 1.63 (colored)
now that simple_lock is a define elsewhere as well, #undef it in the regress case.
Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:34 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Branch point for: mjf-ufs-trans
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
Revision 1.61.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:40 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.61: +4 -4
lines
Diff to previous 1.61 (colored)
Sync with HEAD.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:07 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.61: +4 -4
lines
Diff to previous 1.61 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.1: +4 -6
lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)
sync with head.
Revision 1.59.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.59.6.1: +3 -3
lines
Diff to previous 1.59.6.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)
sync with head.
Revision 1.61 / (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-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
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,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.60: +3 -3
lines
Diff to previous 1.60 (colored)
remove some __unused from function parameters.
Revision 1.59.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
sync with head
Revision 1.60 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:18 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.54.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.54: +49 -20
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
sync with head
Revision 1.54.8.4 / (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.54.8.3: +4 -6
lines
Diff to previous 1.54.8.3 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)
sync with head
Revision 1.59 / (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,
newlock2,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl
Changes since 1.58: +4 -6
lines
Diff to previous 1.58 (colored)
use ASSERT_SLEEPABLE where appropriate.
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52: +48 -17
lines
Diff to previous 1.52 (colored)
sync with head.
Revision 1.55.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.55: +18 -16
lines
Diff to previous 1.55 (colored) next main 1.56 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.54.8.3 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.54.8.2: +6 -6
lines
Diff to previous 1.54.8.2 (colored) to branchpoint 1.54 (colored)
sync with head.
Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.54: +47 -16
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
Sync with head.
Revision 1.54.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 05:13:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.54: +47 -16
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
sync with head.
Revision 1.58 / (download) - annotate - [select for diffs], Sat Apr 15 05:07:15 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Changes since 1.57: +3 -3
lines
Diff to previous 1.57 (colored)
Spell coalesce correctly.
Revision 1.57 / (download) - annotate - [select for diffs], Sat Apr 15 05:05:44 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.56: +6 -6
lines
Diff to previous 1.56 (colored)
Coverity CID 2727: Simplify code.
Revision 1.54.8.2 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:47 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.54.8.1: +14 -12
lines
Diff to previous 1.54.8.1 (colored) to branchpoint 1.54 (colored)
sync with head
Revision 1.56 / (download) - annotate - [select for diffs], Sun Apr 2 09:27:05 2006 UTC (6 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.55: +14 -12
lines
Diff to previous 1.55 (colored)
call extent_free_region_descriptor(ex, myrp) when ltseep() returns non-zero (eg if interrupted). Fixes Coverty CIDs 1555 and 1556.
Revision 1.54.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:32 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.54: +31 -2
lines
Diff to previous 1.54 (colored)
sync with head.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:00 2006 UTC (6 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq
Changes since 1.54: +31 -2
lines
Diff to previous 1.54 (colored)
Make extent_alloc_subregion(), extent_alloc(), and extent_alloc1() real functions, not CPP macros.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 24 19:12:23 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
elad-kernelauth
Changes since 1.53: +3 -3
lines
Diff to previous 1.53 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.52: +2 -2
lines
Diff to previous 1.52 (colored)
merge ktrace-lwp.
Revision 1.49.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.4: +135 -165
lines
Diff to previous 1.49.2.4 (colored) next main 1.50 (colored)
Sync with HEAD. Here we go again...
Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 23 18:46:17 2005 UTC (6 years, 11 months ago) by thorpej
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
Branch point for: yamt-lazymbuf
Changes since 1.51: +135 -165
lines
Diff to previous 1.51 (colored)
Use ANSI function decls.
Revision 1.50.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
sync with -current
Revision 1.49.2.4 / (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.49.2.3: +4 -4
lines
Diff to previous 1.49.2.3 (colored)
Sync with HEAD.
Revision 1.50.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 15 18:22:24 2005 UTC (7 years, 2 months ago) by bouyer
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,
kent-audio2-base
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored)
Fix off-by-one bug which would cause a region at the end of the extent to be alloctated multiple times: - we're allocating region of size 1 - there are holes in the extent, but all of size larger than 1 - there are 2 contigous allocations at the end of the extent, the last one being of size 1. While there fix a DIAGNOSTIC check: to check that a region is inside the extent we need to check start and end, not only start.
Revision 1.49.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:12 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.2: +2 -2
lines
Diff to previous 1.49.2.2 (colored)
Fix the sync with head I botched.
Revision 1.49.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.1: +0 -0
lines
Diff to previous 1.49.2.1 (colored)
Sync with HEAD.
Revision 1.49.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49: +10 -10
lines
Diff to previous 1.49 (colored)
Sync with HEAD
Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:33 2004 UTC (8 years, 2 months ago) by junyoung
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
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,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.49: +10 -10
lines
Diff to previous 1.49 (colored)
- Nuke __P(). - Drop trailing spaces.
Revision 1.49 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:06 2003 UTC (8 years, 11 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.48: +4 -2
lines
Diff to previous 1.48 (colored)
Make sure to include opt_foo.h if a defflag option FOO is used.
Revision 1.48 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:44 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (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.42.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:14 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.3: +18 -22
lines
Diff to previous 1.42.2.3 (colored) next main 1.43 (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.39.2.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:17 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.39.2.5: +16 -20
lines
Diff to previous 1.39.2.5 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)
Catch up to -current.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:42 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.46: +18 -22
lines
Diff to previous 1.46 (colored)
Use the queue macros from <sys/queue.h> instead of referring to the queue members directly. Use *_FOREACH whenever possible.
Revision 1.39.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:47:55 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.4: +3 -3
lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.42.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:49 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.2: +5 -4
lines
Diff to previous 1.42.2.2 (colored)
Catch up with -current.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:41 2002 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
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,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
Pool deals fairly well with physical memory shortage, but it doesn't deal with shortages of the VM maps where the backing pages are mapped (usually kmem_map). Try to deal with this: * Group all information about the backend allocator for a pool in a separate structure. The pool references this structure, rather than the individual fields. * Change the pool_init() API accordingly, and adjust all callers. * Link all pools using the same backend allocator on a list. * The backend allocator is responsible for waiting for physical memory to become available, but will still fail if it cannot callocate KVA space for the pages. If this happens, carefully drain all pools using the same backend allocator, so that some KVA space can be freed. * Change pool_reclaim() to indicate if it actually succeeded in freeing some pages, and use that information to make draining easier and more efficient. * Get rid of PR_URGENT. There was only one use of it, and it could be dealt with by the caller. From art@openbsd.org.
Revision 1.39.2.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:46 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.3: +4 -3
lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)
Catch up to -current.
Revision 1.32.2.3 / (download) - annotate - [select for diffs], Sun Feb 10 14:12:10 2002 UTC (10 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.32.2.2: +20 -4
lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)
Pull up revisions 1.43,1.45 (requested by bouyer):
Two fixes:
o Make sure that extent_alloc_subregion() does not allocate a region
past the end of a subregion.
o Avoid allocating a region over an already-allocated one when
boundary is non-null.
Revision 1.45 / (download) - annotate - [select for diffs], Sat Feb 9 01:00:09 2002 UTC (10 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: ifpoll-base,
ifpoll
Changes since 1.44: +4 -3
lines
Diff to previous 1.44 (colored)
extent_alloc_subregion1(): when a candidate region doesn't fit after being rounded up to respect boundary limits, adjust newstart and last before skiping to the next region. Otherwise we may check the same candidate region against the start of the next region, no the one immediatly following the hole, leading to corrupted map. This fixes the panic seen on sparc64 with scsi drivers, and probably fixes PR 15489.
Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:00 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.42.2.1: +4 -1
lines
Diff to previous 1.42.2.1 (colored)
Sync kqueue branch with -current.
Revision 1.39.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:40 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.2: +4 -1
lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)
Catch up to -current.
Revision 1.43.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:52 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.43: +4 -1
lines
Diff to previous 1.43 (colored) next main 1.44 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:19 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.43: +4 -1
lines
Diff to previous 1.43 (colored)
add RCSIDs
Revision 1.39.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:26 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.1: +18 -3
lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)
Catch up to -current.
Revision 1.42.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:16:17 2001 UTC (10 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.42: +18 -3
lines
Diff to previous 1.42 (colored)
Update the kqueue branch to HEAD.
Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 27 13:35:44 2001 UTC (10 years, 9 months ago) by enami
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.42: +18 -3
lines
Diff to previous 1.42 (colored)
extent_alloc_subregion shouldn't allocate a region pasts the end of subregion.
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:59 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39: +39 -24
lines
Diff to previous 1.39 (colored)
Catch up to -current.
Revision 1.32.2.2 / (download) - annotate - [select for diffs], Sun Jun 10 18:56:03 2001 UTC (10 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.32.2.1: +3 -3
lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)
Pull up revision 1.36 (requested by he): Fix calculation of whether we overflow the end of the extent. Fixes PR#13075.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 5 04:39:56 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.41: +11 -1
lines
Diff to previous 1.41 (colored)
Assert that no locks are held if we're called with EX_WAITSPACE. From Bill Sommerfeld.
Revision 1.41 / (download) - annotate - [select for diffs], Wed May 9 23:38:20 2001 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.40: +27 -22
lines
Diff to previous 1.40 (colored)
Use pool_init() rather then pool_create().
Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 27 00:06:11 2001 UTC (11 years, 1 month ago) by marcus
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
STDC cleanup: multi line string literal removed.
Revision 1.29.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:13:56 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.1: +5 -5
lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)
Sync with HEAD.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 6 18:05:57 2000 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.38: +5 -5
lines
Diff to previous 1.38 (colored)
pool_handle_t -> struct pool *
Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:07 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29: +55 -30
lines
Diff to previous 1.29 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 12 23:56:50 2000 UTC (11 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.37: +3 -1
lines
Diff to previous 1.37 (colored)
Define ltsleep() in the case of _EXTENT_TESTING so regressions testing works again.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 12 16:29:36 2000 UTC (11 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.36: +10 -12
lines
Diff to previous 1.36 (colored)
Use ltsleep(... PNORELOCK ) instead of simple_unlock()/tsleep()
Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 7 14:10:48 2000 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.35: +3 -3
lines
Diff to previous 1.35 (colored)
more extent_alloc() fixes: check that newstart + size - 1 doesn't overflow the end of the extent, rather than the "dontcross" value, which can easily overflow the end of an extent when being asked for an object with a large boundary requirement. this test is more valid, in any case, and fixes extent_alloc() failure when the start of the extent is not "aligned".
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Tue Jun 27 21:54:03 2000 UTC (11 years, 11 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored)
Pull up rev. 1.33: Fix-up (#if 0'd) printf() formats.
Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 27 17:41:33 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.34: +1 -3
lines
Diff to previous 1.34 (colored)
remove include of <vm/vm.h>
Revision 1.34 / (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.33: +3 -2
lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Sat Jun 24 12:46:57 2000 UTC (11 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored)
Fix-up (#if 0'd) printf() formats.
Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:15 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.30: +15 -3
lines
Diff to previous 1.30 (colored) next main 1.31 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 16 16:48:56 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.31: +9 -3
lines
Diff to previous 1.31 (colored)
in extent_alloc_subregion1(), check for EXTENT_ALIGN() overflow when doing the boundary-case check. approved by thorpej.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 6 17:32:50 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +7 -1
lines
Diff to previous 1.30 (colored)
Make this build as a regression test with the latest simple lock changes.
Revision 1.30 / (download) - annotate - [select for diffs], Wed May 24 02:22:36 2000 UTC (12 years ago) by jhawk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.29: +24 -10
lines
Diff to previous 1.29 (colored)
Kludge: Change #define's of the form #define panic(a) printf(a) to #define \ panic(a) printf(a) to prevent ctags(1) from detecting there is a tag. Otherwise, the tags file claims panic() is in subr_extent.c instead of subr_prf.c.
Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:52 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.28: +15 -1
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Pull up to last week's -current.
Revision 1.24.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:34:44 1999 UTC (12 years, 5 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.24: +25 -10
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch. The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes. synchronization to latest KAME will take place on HEAD branch soon.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 11 22:57:17 1999 UTC (12 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.28: +15 -1
lines
Diff to previous 1.28 (colored)
Detect if kmem is up, and if not, ignore EX_MALLOCOK.
Revision 1.24.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:43:21 1999 UTC (12 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.24.4.1: +2 -1
lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)
Sync w/ -current.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 27 06:18:33 1999 UTC (12 years, 11 months ago) by ross
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Changes since 1.27: +2 -1
lines
Diff to previous 1.27 (colored)
include <string.h> for memset(3) when compiling userland test setup
Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Jun 24 16:13:21 1999 UTC (12 years, 11 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Changes since 1.24: +25 -10
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
pullup 1.24->1.27 (pk): deal with missing "raise interrupt level" code
Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:03 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.24: +25 -10
lines
Diff to previous 1.24 (colored)
Sync w/ -current.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 7 02:25:05 1999 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +3 -1
lines
Diff to previous 1.26 (colored)
Make sure the regression test compiles.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 6 22:14:53 1999 UTC (12 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.25: +19 -6
lines
Diff to previous 1.25 (colored)
Guard our global resource `expool' against all interrupts.
Revision 1.25 / (download) - annotate - [select for diffs], Tue May 11 11:02:54 1999 UTC (13 years ago) by drochner
Branch: MAIN
Changes since 1.24: +5 -5
lines
Diff to previous 1.24 (colored)
fix 2 problems with subregion allocation: -a subregion start was ignored if all previous allocations were before the subregion, reported by Lennart Augustsson in PR kern/7539 -an existing allocation which overlaps the beginning of the subregion was ignored (ie overlapped) if is is not the last allocation
Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 18 18:52:29 1999 UTC (13 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
kame_14_19990705,
kame_14_19990628
Branch point for: netbsd-1-4,
kame,
chs-ubc2
Changes since 1.23: +67 -11
lines
Diff to previous 1.23 (colored)
Fix a thinko in the previous. Also: * Do the boundary check when creating a new region as well. * If we crossed the boundary, don't just throw away the region; lop off the beginning and see if we still fit. SB16 is now fully functional on the Alpha.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 18 18:13:50 1999 UTC (13 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +18 -35
lines
Diff to previous 1.22 (colored)
Speed up the calculation of dontcross; use EXTENT_ALIGN to calculate it directly rather than using a loop. Also adjust so that we can allocate at the end of the integer range.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 12 00:49:00 1999 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Fix some printf format problems on Alpha.
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 22 07:57:59 1999 UTC (13 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
no need to do locking in extext_destroy().
Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 12 17:20:02 1998 UTC (13 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored)
Make copyrights consistent; fix weird/trailing spaces add missing (c) etc.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 10 20:52:13 1998 UTC (13 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.18: +8 -8
lines
Diff to previous 1.18 (colored)
Allow the result of an extent allocation to be congruous to an arbitrary number modulo the given alignment. To do this the function extent_alloc_subregion() takes an additional `skew' parameter. For compatibility's sake, this function has been renamed to extent_alloc_subregion1().
Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 1 17:59:36 1998 UTC (13 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.17: +15 -6
lines
Diff to previous 1.17 (colored)
Make user-mode testing work again.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 1 17:57:44 1998 UTC (13 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.16: +9 -1
lines
Diff to previous 1.16 (colored)
Fix a case of duplicate allocation in extent_alloc_subregion() triggered by specifying a start address that happens to be beyond all currently regions.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:14 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Fri Jul 24 06:40:45 1998 UTC (13 years, 10 months ago) by sommerfe
Branch: MAIN
CVS Tags: eeh-paddr_t-base,
eeh-paddr_t
Changes since 1.14: +22 -6
lines
Diff to previous 1.14 (colored)
Don't create the extent region pool until one of our callers is of the opinion that it's safe to call malloc.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 23 20:57:17 1998 UTC (13 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.13: +12 -5
lines
Diff to previous 1.13 (colored)
Use a memory pool instead of malloc to allocate region descriptors.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 15 12:38:29 1998 UTC (13 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.12: +7 -2
lines
Diff to previous 1.12 (colored)
Close a descriptor leak. This proved especially detrimental under heavy paging.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 6 02:25:47 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +104 -29
lines
Diff to previous 1.11 (colored)
Add fine-grained locking. Still one refinement to make, which will be done in a separate commit.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 21 22:33:49 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Const'ify the extent name.
Revision 1.8.4.4 / (download) - annotate - [select for diffs], Tue Oct 14 10:26:08 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8.4.3: +3 -3
lines
Diff to previous 1.8.4.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
Update marc-pcmcia branch from trunk.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 9 07:46:07 1997 UTC (14 years, 7 months ago) by jtc
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.9: +3 -3
lines
Diff to previous 1.9 (colored)
Fix tipo inherited from old version of TNF copyright template.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 29 00:47:18 1997 UTC (14 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal
Changes since 1.8: +14 -3
lines
Diff to previous 1.8 (colored)
Bring changes from marc-pcmcia branch down to the trunk.
Revision 1.8.4.3 / (download) - annotate - [select for diffs], Fri Aug 29 00:33:08 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8.4.2: +2 -2
lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored)
Fix a whitespace botch.
Revision 1.8.4.2 / (download) - annotate - [select for diffs], Fri Aug 29 00:29:12 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8.4.1: +11 -7
lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)
Fix a slight logic error in Marc's bugfix to extent_alloc_subregion(): When finding the first allocated region within the allocation subregion, do not advance the "last" pointer if we do not need to skip any allocated regions.
Revision 1.8.4.1 / (download) - annotate - [select for diffs], Wed Jul 30 07:27:21 1997 UTC (14 years, 9 months ago) by marc
Branch: marc-pcmcia
Changes since 1.8: +11 -4
lines
Diff to previous 1.8 (colored)
extent_alloc_subregion was wrong
Revision 1.8 / (download) - annotate - [select for diffs], Mon May 12 23:36:32 1997 UTC (15 years ago) by thorpej
Branch: MAIN
CVS Tags: marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Fix two boundary/overflow errors in extent_alloc_subregion():
(1): "substart == ex->ex_end" and "subend == ex->ex_start"
are completely legal parameters for extent_alloc_subregion()
(2): "(subend - substart) + 1" can cause an overflow if the whole
numeric range is covered by the extent.
Submitted by Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
in PR #3119.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 21 18:46:34 1996 UTC (15 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.6: +23 -5
lines
Diff to previous 1.6 (colored)
Feature: If not compiled with -D_KERNEL, include different includes and do so macro magic so that this will fit sanely into test harnesses. When used in user-land, this should be compiled with -D_EXTENT_TESTING. Bug fixes: (extent_insert_and_optimize) You can't do things like: LIST_REMOVE(elem->...le_next, ...); free(elem->...le_next, ...); They just don't work (and will corrupt your list and/or malloc free list). (extent_alloc_region_descriptor) Unless you wait, malloc can fail. Don't accidentally deref a potentially-NULL pointer.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 17 08:27:35 1996 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +144 -73
lines
Diff to previous 1.5 (colored)
Several changes: - Rename EX_NOBLOB to EX_NOCOALESCE; it's much more descriptive of what's going on. - In extent_free_region_descriptor(), if we're a fixed extent, freeing a dynamically allocated region descriptor, and someone is waiting on the freelist, let the waiter have it, rather than free'ing it back to the system. - Use ALIGN(), rather than our homegrown EXTENT_ALIGN(), when dealing with map overhead. Privatize the EXTENT_ALIGN() macro; there's no need to export it. - Implement EX_BOUNDZERO flag. This changes the boundary line policy in extent_alloc() and extent_alloc_subregion(); boundary lines are computed relative to 0, rather then the start of the extent. - Fix a nasty race between multiple participants doing region and descriptor allocation. - Add a new flag to specify that it's ok to wait for space in the extent: EX_WAITSPACE. - Blow away an unnecessary splhigh()/splx(). - Put a bunch of sanity code inside #ifdef DIAGNOSTIC/#endif.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 13 02:32:38 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +18 -18
lines
Diff to previous 1.4 (colored)
backout previous kprintf change
Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:25 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.3: +18 -18
lines
Diff to previous 1.3 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 25 20:41:48 1996 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
Fix unititialized variable warning. Pointed out by Aaron Brown.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 23 23:09:10 1996 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +6 -4
lines
Diff to previous 1.1 (colored)
In extent_alloc_subregion(), don't adjust the initial boundary check value if we're not concerned with boundary checking. Avoids a stupid infinite loop.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 23 00:10:19 1996 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
My extent map manager. Sort of like resource maps, but more flexible. Understands allocation aligment and boundary restrictions, "specific region" allocations, and suballocations. Capable of statically or dynamically allocating map overhead. Many thanks to Matthias Drochner for running the code for me, and sending me bug fixes, optimizations, and suggestions. Also, many thanks to Chris Demetriou for his extremely helpful suggestions. XXX No manual page yet. One is forthcoming, as soon as I can scare up the time to write one. This has been sitting on my plate for quite a while, and several projects are waiting for it. Time to move on.