Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.91.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:30 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.91: +13 -6
lines
Diff to previous 1.91 (colored) next main 1.92 (colored)
Sync with HEAD.
Revision 1.91.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:15 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.91: +13 -6
lines
Diff to previous 1.91 (colored) next main 1.92 (colored)
sync with head
Revision 1.91.8.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:44 2011 UTC (15 months, 1 week ago) by bouyer
Branch: bouyer-quota2
Changes since 1.91: +13 -6
lines
Diff to previous 1.91 (colored) next main 1.92 (colored)
Sync with HEAD
Revision 1.92 / (download) - annotate - [select for diffs], Thu Feb 10 14:46:45 2011 UTC (15 months, 2 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6,
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,
HEAD
Changes since 1.91: +13 -6
lines
Diff to previous 1.91 (colored)
Make vmapbuf() return success/error and make physio deal with a failure.
Revision 1.88.6.1.2.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.88.6.1: +2 -2
lines
Diff to previous 1.88.6.1 (colored) next main 1.89 (colored)
sync to netbsd-5
Revision 1.89.4.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:34 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.89: +29 -43
lines
Diff to previous 1.89 (colored) next main 1.90 (colored)
Sync with HEAD.
Revision 1.87.10.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.10.1: +29 -43
lines
Diff to previous 1.87.10.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
sync with head
Revision 1.88.6.1 / (download) - annotate - [select for diffs], Wed May 27 21:45:21 2009 UTC (2 years, 11 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
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
Branch point for: matt-nb5-mips64
Changes since 1.88: +5 -3
lines
Diff to previous 1.88 (colored) next main 1.89 (colored)
Pull up following revision(s) (requested by hannken in ticket #781): sys/kern/kern_physio.c: revision 1.91 PR kern/39536: bufq related problem when writing DVDR and DVDRWs. Remove a race where physio_done() may use memory already freed. Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.
Revision 1.88.4.1 / (download) - annotate - [select for diffs], Wed May 27 21:42:08 2009 UTC (2 years, 11 months ago) by snj
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.88: +5 -3
lines
Diff to previous 1.88 (colored) next main 1.89 (colored)
Pull up following revision(s) (requested by hannken in ticket #781): sys/kern/kern_physio.c: revision 1.91 PR kern/39536: bufq related problem when writing DVDR and DVDRWs. Remove a race where physio_done() may use memory already freed. Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.
Revision 1.91 / (download) - annotate - [select for diffs], Tue May 26 14:59:31 2009 UTC (3 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
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,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Changes since 1.90: +5 -3
lines
Diff to previous 1.90 (colored)
PR kern/39536: bufq related problem when writing DVDR and DVDRWs. Remove a race where physio_done() may use memory already freed. Observed by Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>.
Revision 1.90 / (download) - annotate - [select for diffs], Mon May 18 21:12:33 2009 UTC (3 years ago) by ad
Branch: MAIN
Changes since 1.89: +26 -42
lines
Diff to previous 1.89 (colored)
- Remove unneded uvm_lwp_hold(), uvm_lwp_rele(). - Make physio_concurrency tuneable via crash(8). - Update comments.
Revision 1.87.10.1 / (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.87: +16 -50
lines
Diff to previous 1.87 (colored)
sync with head.
Revision 1.88.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.88: +5 -2
lines
Diff to previous 1.88 (colored) next main 1.89 (colored)
Sync with HEAD.
Revision 1.87.6.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.87.6.1: +3 -0
lines
Diff to previous 1.87.6.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
Sync with HEAD.
Revision 1.87.16.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.87.16.1: +5 -2
lines
Diff to previous 1.87.16.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.89 / (download) - annotate - [select for diffs], Sun Nov 9 12:18:07 2008 UTC (3 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jym-xensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.88: +5 -2
lines
Diff to previous 1.88 (colored)
Assert that bp->b_error == 0 if all data have been transfered in physio_biodone(). We have more chance to have the fauly code in the stack trace when doing the check here than in physio_done().
Revision 1.87.16.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.87: +13 -50
lines
Diff to previous 1.87 (colored)
Sync with HEAD.
Revision 1.87.12.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.87: +13 -50
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Sync with HEAD.
Revision 1.87.6.1 / (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.87: +13 -50
lines
Diff to previous 1.87 (colored)
Sync with HEAD.
Revision 1.88 / (download) - annotate - [select for diffs], Wed Sep 24 08:19:19 2008 UTC (3 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5-0,
netbsd-5
Changes since 1.87: +13 -50
lines
Diff to previous 1.87 (colored)
Resolve a race when physio_done signals completion before it tries to free a buffer. This will fail if the buffer owner has a chance to modify the BC_DONTFREE flag before putphysbuf() examines it. Fix by removing get/putphysbuf() and BC_DONTFREE. Physio_done() now has an explicit test for a buffer coming from the call of physio(). Observed by Lars Nordlund when writing a DVD with growisofs, see PR kern/39536. Reviewed by: Jason Thorpe <thorpej@netbsd.org>
Revision 1.83.6.3 / (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.83.6.2: +3 -3
lines
Diff to previous 1.83.6.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)
sync with HEAD
Revision 1.61.2.8 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:55 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.7: +3 -3
lines
Diff to previous 1.61.2.7 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)
sync with head.
Revision 1.84.6.2 / (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.84.6.1: +26 -43
lines
Diff to previous 1.84.6.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)
Sync with HEAD.
Revision 1.87 / (download) - annotate - [select for diffs], Fri Feb 15 13:46:04 2008 UTC (4 years, 3 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,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2,
haad-dm
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
Give bbusy() an interlock argument. If the we need to wait for the buffer, the interlock is dropped and reacquired when awoken. This allows for busying buffers attached to a list that is not locked by bufcache_lock.
Revision 1.61.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:08 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.6: +26 -43
lines
Diff to previous 1.61.2.6 (colored) to branchpoint 1.61 (colored)
sync with head
Revision 1.83.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:06 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.83.6.1: +26 -43
lines
Diff to previous 1.83.6.1 (colored) to branchpoint 1.83 (colored)
sync with HEAD
Revision 1.85.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:55 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.85: +26 -43
lines
Diff to previous 1.85 (colored) next main 1.86 (colored)
Sync with HEAD
Revision 1.86 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:51 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.85: +26 -43
lines
Diff to previous 1.85 (colored)
Merge vmlocking2 to head.
Revision 1.85.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:15 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.85: +26 -43
lines
Diff to previous 1.85 (colored) next main 1.86 (colored)
Pull the vmlocking changes into a new branch.
Revision 1.84.6.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:41 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Sync with HEAD.
Revision 1.61.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:43 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.5: +3 -3
lines
Diff to previous 1.61.2.5 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.84.4.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:07 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored) next main 1.85 (colored)
Sync with HEAD
Revision 1.83.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:47 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.83: +64 -68
lines
Diff to previous 1.83 (colored)
sync with HEAD
Revision 1.83.4.2 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:29 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.83.4.1: +3 -3
lines
Diff to previous 1.83.4.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)
Sync with HEAD.
Revision 1.85 / (download) - annotate - [select for diffs], Tue Nov 6 00:42:42 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
bouyer-xeni386
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Merge scheduler changes from the vmlocking branch. All discussed on tech-kern: - Invert priority space so that zero is the lowest priority. Rearrange number and type of priority levels into bands. Add new bands like 'kernel real time'. - Ignore the priority level passed to tsleep. Compute priority for sleep dynamically. - For SCHED_4BSD, make priority adjustment per-LWP, not per-process.
Revision 1.61.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:25 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.4: +63 -67
lines
Diff to previous 1.61.2.4 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.80.2.10 / (download) - annotate - [select for diffs], Sat Oct 27 09:18:54 2007 UTC (4 years, 6 months ago) by yamt
Branch: vmlocking
Changes since 1.80.2.9: +3 -3
lines
Diff to previous 1.80.2.9 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)
fix priorities for some kernel threads. advised and ok'ed by Andrew Doran.
Revision 1.80.2.9 / (download) - annotate - [select for diffs], Thu Oct 25 20:50:41 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.8: +2 -3
lines
Diff to previous 1.80.2.8 (colored) to branchpoint 1.80 (colored)
Fix vnd(4).
Revision 1.80.2.8 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:19 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.7: +55 -47
lines
Diff to previous 1.80.2.7 (colored) to branchpoint 1.80 (colored)
Sync with head.
Revision 1.80.2.7 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:27 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.6: +16 -10
lines
Diff to previous 1.80.2.6 (colored) to branchpoint 1.80 (colored)
Sync with head.
Revision 1.83.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:00 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.83: +63 -67
lines
Diff to previous 1.83 (colored)
Sync with HEAD.
Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 18 08:34:34 2007 UTC (4 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Changes since 1.83: +63 -67
lines
Diff to previous 1.83 (colored)
Stop abusing a `struct buf' for state information. Use new `struct physio_stat' and use kmutex and kcondvar here. Fix an error introduced with B_ERROR removal where reading at EOM returned EIO. Approved by: Andrew Doran <ad@netbsd.org>
Revision 1.61.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:52 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.3: +12 -24
lines
Diff to previous 1.61.2.3 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.80.2.6 / (download) - annotate - [select for diffs], Fri Aug 24 23:28:39 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.5: +40 -69
lines
Diff to previous 1.80.2.5 (colored) to branchpoint 1.80 (colored)
Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
Revision 1.80.2.5 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:53 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.4: +8 -20
lines
Diff to previous 1.80.2.4 (colored) to branchpoint 1.80 (colored)
- Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
Revision 1.82.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:08 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.82: +8 -20
lines
Diff to previous 1.82 (colored) next main 1.83 (colored)
Sync with HEAD.
Revision 1.83.8.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.83.8.1: +490 -0
lines
Diff to previous 1.83.8.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (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.83.8.1, Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.83: +0 -490
lines
FILE REMOVED
file kern_physio.c was added on branch matt-mips64 on 2007-07-29 12:15:46 +0000
Revision 1.83 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64,
matt-armv6,
jmcneill-pm
Changes since 1.82: +8 -20
lines
Diff to previous 1.82 (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.80.2.4 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:38 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.3: +3 -3
lines
Diff to previous 1.80.2.3 (colored) to branchpoint 1.80 (colored)
Sync with head.
Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 12 20:39:56 2007 UTC (4 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.81: +3 -3
lines
Diff to previous 1.81 (colored)
Implementation of per-CPU work-queues support for workqueue(9) interface. WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue() to assign a CPU might be used. Notes: - For now, the list is used for workqueue_queue, which is non-optimal, and will be changed with array, where index would be CPU ID. - The data structures should be changed to be cache-friendly. Reviewed by: <yamt>, <tech-kern>
Revision 1.80.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:52 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.80: +4 -4
lines
Diff to previous 1.80 (colored) next main 1.81 (colored)
Sync with head.
Revision 1.81 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:53 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.80: +4 -4
lines
Diff to previous 1.80 (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.80.2.3 / (download) - annotate - [select for diffs], Sat Jun 23 17:58:50 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.2: +3 -3
lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored)
physiod workqueue doesn't need to be at IPL_BIO.
Revision 1.80.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:38:36 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.80.2.1: +4 -4
lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored)
- Make context switch counters 64-bit, and count the total number of context switches + voluntary, instead of involuntary + voluntary. - Add lwp::l_swaplock for uvm. - PHOLD/PRELE are replaced.
Revision 1.80.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:55 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.80: +18 -23
lines
Diff to previous 1.80 (colored)
Pull in the initial set of changes for the vmlocking branch.
Revision 1.77.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:36 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.77.2.1: +3 -3
lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)
Sync with HEAD.
Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:05 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.79: +3 -3
lines
Diff to previous 1.79 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.77.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:23 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.77: +5 -5
lines
Diff to previous 1.77 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.61.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:08 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.2.2: +5 -5
lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.79 / (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.78: +5 -5
lines
Diff to previous 1.78 (colored)
TRUE -> true, FALSE -> false
Revision 1.78 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:04 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.77: +3 -3
lines
Diff to previous 1.77 (colored)
Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
Revision 1.73.8.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:06 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.73.8.2: +2 -2
lines
Diff to previous 1.73.8.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)
Sync with head.
Revision 1.61.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.61.2.1: +5 -5
lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.77 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.76: +3 -3
lines
Diff to previous 1.76 (colored)
merge yamt-splraiseipl branch. - finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem, which is reported to cause audio skipping. - fix netbt (at least compilation problems) for some ports. - fix PR/33218.
Revision 1.73.10.3 / (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.73.10.2: +3 -3
lines
Diff to previous 1.73.10.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)
sync with head.
Revision 1.73.8.2 / (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.73.8.1: +4 -4
lines
Diff to previous 1.73.8.1 (colored) to branchpoint 1.73 (colored)
Sync with head.
Revision 1.76 / (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,
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
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
remove some __unused from function parameters.
Revision 1.73.10.2 / (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.73.10.1: +5 -5
lines
Diff to previous 1.73.10.1 (colored) to branchpoint 1.73 (colored)
sync with head
Revision 1.75 / (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.74: +3 -3
lines
Diff to previous 1.74 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.74 / (download) - annotate - [select for diffs], Thu Oct 5 14:48:32 2006 UTC (5 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.73: +4 -4
lines
Diff to previous 1.73 (colored)
add support for O_DIRECT (I/O directly to application memory, bypassing any kernel caching for file data).
Revision 1.73.10.1 / (download) - annotate - [select for diffs], Mon Sep 18 10:41:44 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (colored)
don't bother to wrap splraiseipl and IPL_xxx with #if notyet.
Revision 1.73.8.1 / (download) - annotate - [select for diffs], Mon Sep 11 00:05:43 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (colored)
Use mutexes to protect workqueues.
Revision 1.72.2.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.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
sync with head
Revision 1.61.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.61: +280 -115
lines
Diff to previous 1.61 (colored)
sync with head.
Revision 1.72.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.72: +1 -1
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.72.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
sync with head.
Revision 1.72.4.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.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
Sync with head.
Revision 1.72.8.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.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
sync with head.
Revision 1.73 / (download) - annotate - [select for diffs], Tue Apr 18 09:54:32 2006 UTC (6 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored)
from Christian Ehrhardt: * physio: The first call to ltsleep should apparently use o &obp->b_interlock instead of bp->b_interlock (bp is probably NULL here).
Revision 1.70.2.2 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:20 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.70.2.1: +13 -9
lines
Diff to previous 1.70.2.1 (colored) next main 1.71 (colored)
sync with head.
Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 16 21:45:38 2006 UTC (6 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.71: +11 -7
lines
Diff to previous 1.71 (colored)
- tweak RUN_ONCE api to allow init_func returns an error. - physio: handle failure of workqueue_create.
Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:56 2006 UTC (6 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.70: +4 -11
lines
Diff to previous 1.70 (colored)
sync with head.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Jan 4 10:13:05 2006 UTC (6 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.70: +4 -11
lines
Diff to previous 1.70 (colored)
- add simple functions to allocate/free a buffer for i/o. - make bufpool static.
Revision 1.70 / (download) - annotate - [select for diffs], Sat Dec 17 05:26:41 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.69: +54 -18
lines
Diff to previous 1.69 (colored)
fix spurious EINVAL at end of partition. - rather than special-caseing EINVAL, simply pick an error at the lowest offset. - correct uio_resid. - add some debug code.
Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 14 01:58:01 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.68: +13 -26
lines
Diff to previous 1.68 (colored)
simplify rev.1.68 and fix EINVAL problem. add a comment. PR/32224.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Dec 13 12:29:32 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.67: +35 -7
lines
Diff to previous 1.67 (colored)
physio: deal with unaligned buffers/small maxphys/overlapped buffers. fix PR/32224 from Matthias Scheler. (uvm_vslock needs to be redesigned for threaded applications. but it's a different problem.)
Revision 1.56.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:11 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.56.2.4: +4 -5
lines
Diff to previous 1.56.2.4 (colored) next main 1.57 (colored)
Sync with head.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 4 23:34:00 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.66: +4 -5
lines
Diff to previous 1.66 (colored)
physio_done: - report a correct error. - remove a no-op goto.
Revision 1.56.2.4 / (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.56.2.3: +260 -150
lines
Diff to previous 1.56.2.3 (colored)
Sync with HEAD. Here we go again...
Revision 1.66 / (download) - annotate - [select for diffs], Fri Nov 4 08:39:33 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead
Changes since 1.65: +25 -32
lines
Diff to previous 1.65 (colored)
physio: - update uio_resid properly. - don't miss i/o errors near the end of partition.
Revision 1.61.4.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:58:11 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.61: +232 -107
lines
Diff to previous 1.61 (colored) next main 1.62 (colored)
sync with head.
Revision 1.65 / (download) - annotate - [select for diffs], Mon Oct 31 14:36:41 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.64: +40 -15
lines
Diff to previous 1.64 (colored)
fix ioctl problems after the recent physio changes in some drivers including wd and scsi. - physio: if a caller provided a buf, stick to use it because some drivers use it as an identifier. - sprinkle simple_locks. - scsistrategy: rather than issueing an async request and waiting for its completion, simply issue a sync request. the way to wait for the completion had an assumption that B_CALL is never used. it isn't the case after the recent physio() changes. pointed/analyzed/tested by Martin Husemann.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Oct 30 09:17:02 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.63: +3 -3
lines
Diff to previous 1.63 (colored)
physio: comment out IPL_BIO because it's not available for some ports. (it isn't used in the current implementation anyway.)
Revision 1.63 / (download) - annotate - [select for diffs], Sat Oct 29 11:49:01 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.62: +4 -2
lines
Diff to previous 1.62 (colored)
fix compilation problem in the previous when !defined(DIAGNOSTIC). pointed by xtraeme@.
Revision 1.62 / (download) - annotate - [select for diffs], Sat Oct 29 11:23:19 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.61: +205 -107
lines
Diff to previous 1.61 (colored)
physio: make requests with large buffers faster, by queueing more i/o simultaneously.
Revision 1.61 / (download) - annotate - [select for diffs], Thu Jun 23 23:15:12 2005 UTC (6 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop,
yamt-lazymbuf
Changes since 1.60: +39 -47
lines
Diff to previous 1.60 (colored)
Use ANSI function decls. Apply some static.
Revision 1.56.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:06 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.56.2.2: +2 -2
lines
Diff to previous 1.56.2.2 (colored)
Fix the sync with head I botched.
Revision 1.56.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.56.2.1: +0 -0
lines
Diff to previous 1.56.2.1 (colored)
Sync with HEAD.
Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:49 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.56: +41 -10
lines
Diff to previous 1.56 (colored)
Sync with HEAD
Revision 1.60 / (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-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
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,
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-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Changes since 1.59: +7 -7
lines
Diff to previous 1.59 (colored)
- Nuke __P(). - Drop trailing spaces.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Feb 17 11:36:01 2004 UTC (8 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.58: +5 -5
lines
Diff to previous 1.58 (colored)
Don't shadow a function name with a parameter.
Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 10 14:39:50 2004 UTC (8 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.57: +4 -2
lines
Diff to previous 1.57 (colored)
store a i/o priority hint in struct buf for buffer queue discipline.
Revision 1.57 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:47 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.56: +32 -3
lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Tue Feb 25 20:35:38 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.55: +3 -3
lines
Diff to previous 1.55 (colored)
Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and use it. This fixes a few places where either b_dep or b_interlock were not properly initialized.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 5 21:38:42 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.54: +3 -2
lines
Diff to previous 1.54 (colored)
Make the buffer cache code MP-safe.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:28 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +6 -5
lines
Diff to previous 1.53 (colored)
Merge the nathanw_sa branch.
Revision 1.46.2.9 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:07 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.46.2.8: +3 -3
lines
Diff to previous 1.46.2.8 (colored) next main 1.47 (colored)
Catch up to -current.
Revision 1.48.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:52 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.2.3: +3 -3
lines
Diff to previous 1.48.2.3 (colored) next main 1.49 (colored)
sync kqueue branch with HEAD
Revision 1.52.8.1 / (download) - annotate - [select for diffs], Sat Aug 31 16:38:24 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
catch up with -current.
Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 30 15:43:40 2002 UTC (9 years, 8 months ago) by hannken
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,
gehenna-devsw-base,
fvdl_fs64_base
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored)
Remove the old device buffer queue interface. Approved by: Jason R. Thorpe <thorpej@wasabisystems.com>
Revision 1.46.2.8 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:17 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.46.2.7: +2 -3
lines
Diff to previous 1.46.2.7 (colored)
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.46.2.7 / (download) - annotate - [select for diffs], Mon Jun 24 22:10:47 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.46.2.6: +3 -3
lines
Diff to previous 1.46.2.6 (colored)
Curproc->curlwp renaming. Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp". "curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:47 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.2.2: +3 -4
lines
Diff to previous 1.48.2.2 (colored)
Catch up with -current.
Revision 1.46.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:44 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.46.2.5: +3 -4
lines
Diff to previous 1.46.2.5 (colored)
Catch up to -current.
Revision 1.52 / (download) - annotate - [select for diffs], Thu Feb 14 07:08:21 2002 UTC (10 years, 3 months ago) by chs
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,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.51: +3 -4
lines
Diff to previous 1.51 (colored)
allow writing to write-only mappings. fixes PR 3493.
Revision 1.48.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:52 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.48.2.1: +4 -9
lines
Diff to previous 1.48.2.1 (colored)
Sync kqueue branch with -current.
Revision 1.46.2.5 / (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.46.2.4: +4 -1
lines
Diff to previous 1.46.2.4 (colored)
Catch up to -current.
Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:49 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.50: +4 -1
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:13 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.50: +4 -1
lines
Diff to previous 1.50 (colored)
add RCSIDs
Revision 1.49.2.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:52 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.49.2.1: +1 -9
lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)
Catch up with -current.
Revision 1.46.2.4 / (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.46.2.3: +1 -9
lines
Diff to previous 1.46.2.3 (colored)
Catch up to -current.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:37 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.49: +1 -9
lines
Diff to previous 1.49 (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.49.2.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:37 2001 UTC (10 years, 8 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.49: +4 -4
lines
Diff to previous 1.49 (colored)
Commit my "devvp" changes to the thorpej-devvp branch. This replaces the use of dev_t in most places with a struct vnode *. This will form the basic infrastructure for real cloning device support (besides being architecurally cleaner -- it'll be good to get away from using numbers to represent objects).
Revision 1.46.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:30 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.46.2.2: +3 -3
lines
Diff to previous 1.46.2.2 (colored)
Catch up with -current.
Revision 1.48.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:41 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
update to -current
Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 24 16:43:03 2001 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
s/necesary/necessary/
Revision 1.48 / (download) - annotate - [select for diffs], Sun Jul 8 18:06:47 2001 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
Branch point for: kqueue
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored)
Correct various misspellings of 'transfer' and inflected forms.
Revision 1.46.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:53 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.46.2.1: +11 -30
lines
Diff to previous 1.46.2.1 (colored)
Catch up with -current.
Revision 1.37.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:23 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.3: +10 -29
lines
Diff to previous 1.37.2.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
Sync with HEAD.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:55 2001 UTC (11 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.46: +11 -30
lines
Diff to previous 1.46 (colored)
eliminate the KERN_* error codes in favor of the traditional E* codes. the mapping is: KERN_SUCCESS 0 KERN_INVALID_ADDRESS EFAULT KERN_PROTECTION_FAILURE EACCES KERN_NO_SPACE ENOMEM KERN_INVALID_ARGUMENT EINVAL KERN_FAILURE various, mostly turn into KASSERTs KERN_RESOURCE_SHORTAGE ENOMEM KERN_NOT_RECEIVER <unused> KERN_NO_ACCESS <unused> KERN_PAGES_LOCKED <unused>
Revision 1.46.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:41 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.46: +6 -4
lines
Diff to previous 1.46 (colored)
Initial commit of scheduler activations and lightweight process support.
Revision 1.37.2.3 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:21 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.2: +5 -3
lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored)
Sync with HEAD (for UBC fixes).
Revision 1.37.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.37.2.1: +2 -3
lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)
Sync with HEAD.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 8 02:25:50 2000 UTC (11 years, 5 months ago) by augustss
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.45: +6 -4
lines
Diff to previous 1.45 (colored)
Use correct type for todo variable. Use more explicit panics messages.
Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:43 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.44: +2 -3
lines
Diff to previous 1.44 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:02 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37: +25 -19
lines
Diff to previous 1.37 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.44 / (download) - annotate - [select for diffs], Fri Sep 29 13:27:12 2000 UTC (11 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.43: +3 -3
lines
Diff to previous 1.43 (colored)
(*minphys)() musn't return zero.
Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 27 17:41:24 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.42: +1 -3
lines
Diff to previous 1.42 (colored)
remove include of <vm/vm.h>
Revision 1.42 / (download) - annotate - [select for diffs], Mon May 8 20:03:20 2000 UTC (12 years ago) by thorpej
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.41: +13 -10
lines
Diff to previous 1.41 (colored)
__predict_false() uvm_useracc() failure.
Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 29 03:43:32 2000 UTC (12 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.40: +1 -2
lines
Diff to previous 1.40 (colored)
Don't need to include <sys/conf.h> here.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 14 20:12:03 2000 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +9 -4
lines
Diff to previous 1.39 (colored)
One small piece from UBC: create a pool for I/O buffers. One small piece not from UBC: make physio use it instead of its own home-grown thing.
Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 21 23:21:46 2000 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.38: +2 -2
lines
Diff to previous 1.38 (colored)
Preserve B_ORDERED.
Revision 1.37.8.2 / (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.37.8.1: +2 -1
lines
Diff to previous 1.37.8.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
Pull up to last week's -current.
Revision 1.37.8.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:19:57 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.37: +4 -3
lines
Diff to previous 1.37 (colored)
Initial commit of recent changes to make DEV_BSIZE go away. Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help. cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work. Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:09 1999 UTC (12 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (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.37.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 12:50:03 1999 UTC (12 years, 7 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Bring in Kirk McKusick's FFS softdep code on a branch.
Revision 1.35.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:02 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.35: +9 -2
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
Sync w/ -current.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 17 15:47:23 1999 UTC (12 years, 11 months ago) by thorpej
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.36: +9 -3
lines
Diff to previous 1.36 (colored)
Make uvm_vslock() return the error code from uvm_fault_wire(). All places which use uvm_vslock() should now test the return value. If it's not KERN_SUCCESS, wiring the pages failed, so the operation which is using uvm_vslock() should error out. XXX We currently just EFAULT a failed uvm_vslock(). We may want to do more about translating error codes in the future.
Revision 1.36 / (download) - annotate - [select for diffs], Wed May 26 01:08:03 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -2
lines
Diff to previous 1.35 (colored)
Pass the appropriate access_type to uvm_vslock() for the given physio operation: B_READ == VM_PROT_READ|VM_PROT_WRITE, B_WRITE == VM_PROT_READ.
Revision 1.35 / (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.34: +2 -20
lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Wed Feb 10 17:03:28 1999 UTC (13 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored)
Use of casts as lvalues is a GNU C extension; rearrange slightly.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:13 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Fri May 8 18:18:58 1998 UTC (14 years ago) by kleink
Branch: MAIN
CVS Tags: eeh-paddr_t-base,
eeh-paddr_t
Changes since 1.31: +4 -4
lines
Diff to previous 1.31 (colored)
Fix some arithmetics lossage on typeless pointers.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Apr 30 06:28:57 1998 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.30: +5 -5
lines
Diff to previous 1.30 (colored)
Pass vslock() and vsunlock() a proc *, rather than implicitly operating on curproc.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:40 1998 UTC (14 years, 2 months ago) by fvdl
Branch: netbsd,
CSRG
CVS Tags: lite-2,
lite-1,
date-03-may-96
Changes since 1.1: +93 -1
lines
Diff to previous 1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 10 14:09:35 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.29: +3 -1
lines
Diff to previous 1.29 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 5 07:59:52 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.28: +61 -42
lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Mon May 19 10:43:28 1997 UTC (15 years ago) by pk
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
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-bp,
marc-pcmcia-base,
marc-pcmcia,
bouyer-scsipi
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored)
Use PHOLD() and PRELE(), rather than manipulating p_holdcnt directly.
Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Dec 11 09:22:34 1996 UTC (15 years, 5 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.26: +7 -5
lines
Diff to previous 1.26 (colored) next main 1.27 (colored)
From trunk: Check access rights iff UIO_USERSPACE.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 13 22:30:18 1996 UTC (15 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.26: +7 -5
lines
Diff to previous 1.26 (colored)
Check user access rights only if `uio_segflg' says it's a user space buffer.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Feb 4 02:15:51 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.25: +4 -2
lines
Diff to previous 1.25 (colored)
First pass at prototyping
Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 10 02:51:45 1995 UTC (16 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.24: +9 -1
lines
Diff to previous 1.24 (colored)
Check for todo<0, done<0, and done>todo.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 12 20:31:39 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +11 -10
lines
Diff to previous 1.23 (colored)
minphys() functions really should return void.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 27 02:37:12 1995 UTC (16 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +7 -6
lines
Diff to previous 1.22 (colored)
After an I/O operation completes, immediately set B_BUSY again. Also, lower spl sooner, and remove an unneeded splbio()/splx() pair.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 24 07:45:24 1995 UTC (16 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.21: +8 -5
lines
Diff to previous 1.21 (colored)
prototype strategy and minphys, use & check minphys return value
Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 4 07:18:57 1995 UTC (16 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +1 -23
lines
Diff to previous 1.20 (colored)
Make each disk and tape driver define its own read and write functions. Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to force the abstraction barrier.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:34 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.19: +325 -1
lines
Diff to previous 1.19 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 28 22:21:16 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +1 -1
lines
Diff to previous 1.18 (colored)
Eliminate use of b_bufsize, and instead pass an extra arg to v(un)mapbuf(), to be consistent with vs)un)lock().
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 26 06:08:11 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +1 -1
lines
Diff to previous 1.17 (colored)
Set b_bufsize after the minphys routine is called.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 16 00:54:18 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +1 -1
lines
Diff to previous 1.16 (colored)
Set b_bufsize, for use by v{,un}mapbuf().
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 15 19:59:25 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +1 -1
lines
Diff to previous 1.15 (colored)
Turn P_NOSWAP and P_PHYSIO into a hold count, as suggested by a comment.
Revision 1.15 / (download) - annotate - [select for diffs], Fri May 20 10:05:07 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored)
update with merged versions
Revision 1.14 / (download) - annotate - [select for diffs], Fri May 20 10:04:09 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (colored)
4.4-Lite versions
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 4 04:02:54 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.12: +1 -1
lines
Diff to previous 1.12 (colored)
HPUXCOMPAT -> COMPAT_HPUX
Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 21 07:48:29 1994 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -1
lines
Diff to previous 1.11 (colored)
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also, some knf and structure frobbing to do along with it.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 27 07:45:21 1994 UTC (18 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.10: +1 -1
lines
Diff to previous 1.10 (colored)
kill hack for vfs_bio jolitz-ish hack
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 18 04:20:50 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored)
Canonicalize all #includes.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 16 16:28:43 1993 UTC (18 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (colored)
Use proc pointer passed in uio rather then curproc for credentials (should perhaps be done for b_proc also).
Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 7 23:46:13 1993 UTC (18 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.7: +1 -1
lines
Diff to previous 1.7 (colored)
Properly initialize the credentials fields in the buffer used in physio(). Actually use the credentials of `curproc' when doing IO (among other things, this allows us to read /dev/drum when swapping on an NFS mounted file).
Revision 1.6.4.2 / (download) - annotate - [select for diffs], Fri Nov 12 06:11:57 1993 UTC (18 years, 6 months ago) by cgd
Branch: magnum
Changes since 1.6.4.1: +1 -1
lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
new specfs.h and fifo.h locations, and include file syntax updates
Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 12 05:55:29 1993 UTC (18 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -1
lines
Diff to previous 1.6 (colored)
new specfs.h and fifo.h locations
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:10 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.6: +1 -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 8 10:53:40 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: +1 -1
lines
Diff to previous 1.5 (colored)
if mincnt returns 0 (i.e. off end of disk, or something), punt.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 8 10:29:26 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1
lines
Diff to previous 1.4 (colored)
mark the buffer busy immediately when we acquire it, also, sleep at a slightly higher priority (so says mw...)
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:39 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.3: +1 -1
lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Thu Jun 24 21:34:54 1993 UTC (18 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +1 -1
lines
Diff to previous 1.2 (colored)
Fix uninitialized variable.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 22 05:19:14 1993 UTC (18 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
special case raw disk handling return values
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 16 22:06:43 1993 UTC (18 years, 11 months ago) by cgd
Branch: MAIN
use/add new physio...