Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13.30.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:18 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13.30.2: +20 -3
lines
Diff to previous 1.13.30.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
sync with head
Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 17 09:54:27 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
netbsd-6-base,
netbsd-6,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.19: +4 -3
lines
Diff to previous 1.19 (colored)
Provide unwind log for bufq sysctls, since (theoretically) bufq might not be initialized during kernel bootstrap and therefore "permanent" nodes can be created only with an unwind log.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 16 15:23:04 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.18: +19 -3
lines
Diff to previous 1.18 (colored)
Replace a large number of link set based sysctl node creations with calls from subsystem constructors. Benefits both future kernel modules and rump. no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL
Revision 1.13.30.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:47 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13.30.1: +11 -11
lines
Diff to previous 1.13.30.1 (colored) to branchpoint 1.13 (colored)
sync with head.
Revision 1.15.8.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.15.8.1: +6 -7
lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)
Sync with HEAD.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 19 14:54:28 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
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,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.17: +6 -7
lines
Diff to previous 1.17 (colored)
malloc -> kmem_alloc
Revision 1.15.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.15: +7 -6
lines
Diff to previous 1.15 (colored)
Sync with HEAD.
Revision 1.13.26.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.26.1: +5 -4
lines
Diff to previous 1.13.26.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
Sync with HEAD.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 15 16:11:19 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.16: +3 -2
lines
Diff to previous 1.16 (colored)
bufq_cancel: KNF.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 13 13:35:54 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.15: +6 -6
lines
Diff to previous 1.15 (colored)
g/c BUFQ_FOO() macros and use bufq_foo() directly.
Revision 1.13.26.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:10 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +8 -9
lines
Diff to previous 1.13 (colored)
Sync with HEAD.
Revision 1.13.28.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.13: +8 -9
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
sync with head.
Revision 1.13.30.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.13: +8 -9
lines
Diff to previous 1.13 (colored)
sync with head.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 30 12:09:02 2008 UTC (4 years ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
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,
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-base2,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.14: +8 -2
lines
Diff to previous 1.14 (colored)
Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). BUFQ_CANCEL(queue, element) removes the specified element previously queued on the queue. It returns NULL if it was not found on the queue and the element if it was successfully removed. Run trough tech-kern and changed name from BUFQ_REVOKE() by suggestion of Jason Thorpe.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (4 years ago) by martin
Branch: MAIN
Changes since 1.13: +2 -9
lines
Diff to previous 1.13 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.12.18.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:00 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.18.2: +2 -3
lines
Diff to previous 1.12.18.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
sync with head.
Revision 1.12.32.2 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:54 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.12.32.1: +5 -3
lines
Diff to previous 1.12.32.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
- Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
Revision 1.12.42.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:12 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.12: +2 -3
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
Sync with HEAD.
Revision 1.13.32.2 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:46 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.13.32.1: +337 -0
lines
Diff to previous 1.13.32.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
Revision 1.13.32.1, Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.13: +0 -337
lines
FILE REMOVED
file subr_bufq.c was added on branch matt-mips64 on 2007-07-29 12:15:46 +0000
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2,
matt-mips64
Changes since 1.12: +2 -3
lines
Diff to previous 1.12 (colored)
It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
Revision 1.12.32.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:35 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.12: +3 -6
lines
Diff to previous 1.12 (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.12.18.2 / (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.12.18.1: +338 -0
lines
Diff to previous 1.12.18.1 (colored) to branchpoint 1.12 (colored)
sync with head.
Revision 1.12.18.1, Mon Dec 26 10:36:47 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12: +0 -338
lines
FILE REMOVED
file subr_bufq.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:38 +0000
Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 26 10:36:47 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
thorpej-atomic-base,
thorpej-atomic,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
reinoud-bufcleanup,
post-newlock2-merge,
peter-altq-base,
peter-altq,
nick-csl-alignment-base,
newlock2-nbase,
newlock2-base,
newlock2,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-lazymbuf,
vmlocking,
nick-csl-alignment
Changes since 1.11: +2 -4
lines
Diff to previous 1.11 (colored)
- add ioctls to set/get disk bufq strategy. - implement them for some drivers.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 26 10:00:34 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
bufq_alloc: return correct errors rather than 0.
Revision 1.10 / (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.9: +2 -2
lines
Diff to previous 1.9 (colored)
merge ktrace-lwp.
Revision 1.9.6.2 / (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.9.6.1: +340 -0
lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Sync with HEAD. Here we go again...
Revision 1.9.6.1, Mon Oct 17 12:28:21 2005 UTC (6 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9: +0 -340
lines
FILE REMOVED
file subr_bufq.c was added on branch ktrace-lwp on 2005-11-10 14:09:45 +0000
Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 17 12:28:21 2005 UTC (6 years, 7 months ago) by yamt
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: ktrace-lwp
Changes since 1.8: +6 -6
lines
Diff to previous 1.8 (colored)
bufq_alloc: fix BUFQ_STRAT_ANY. pointed by Juan RP.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 17 12:25:15 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.7: +59 -43
lines
Diff to previous 1.7 (colored)
sysctl_kern_bufq_strategies: - handle too small buffer. - handle the case that no bufq is configured.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 16 08:30:37 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
sysctl_kern_bufq_strategies: - don't assign size_t value to error number. - remove an unnecessary assignment.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 16 08:27:51 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.5: +30 -30
lines
Diff to previous 1.5 (colored)
sysctl_kern_bufq_strategies: skip a dummy strategy correctly.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 16 02:02:23 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.4: +28 -2
lines
Diff to previous 1.4 (colored)
add some bufq helper functions. #if 0'ed out as there is no user currently.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 16 00:30:03 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
whitespace.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 16 00:28:32 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
fix rcsid.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 15 22:36:18 2005 UTC (6 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.1: +88 -3
lines
Diff to previous 1.1 (colored)
Add a sysctl function that will print all buffer queue strategies built in the kernel: $ sysctl kern.bufq.strategies kern.bufq.strategies = disksort fcfs priocscan readprio $
Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 15 17:29:26 2005 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
- change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)