Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.49 / (download) - annotate - [select for diffs], Tue May 19 22:22:15 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
PR kern/32166: pgo_get protocol is ambiguous Also problems with tmpfs+nfs noted by hannken@. Don't pass PGO_ALLPAGES to pgo_get, and ignore PGO_DONTCARE in the !PGO_LOCKED case. In uao_get() have uvm_pagealloc() take care of page zeroing and release busy pages on error.
Revision 1.48 / (download) - annotate - [select for diffs], Sun May 17 19:38:17 2020 UTC (3 years ago) by ad
Branch: MAIN
Changes since 1.47: +1 -2
lines
Diff to previous 1.47 (colored)
Start trying to reduce cache misses on vm_page during fault processing. - Make PGO_LOCKED getpages imply PGO_NOBUSY and remove the latter. Mark pages busy only when there's actually I/O to do. - When doing COW on a uvm_object, don't mess with neighbouring pages. In all likelyhood they're already entered. - Don't mess with neighbouring VAs that have existing mappings as replacing those mappings with same can be quite costly. - Don't enqueue pages for neighbour faults unless not enqueued already, and don't activate centre pages unless uvmpdpol says its useful. Also: - Make PGO_LOCKED getpages on UAOs work more like vnodes: do gang lookup in the radix tree, and don't allocate new pages. - Fix many assertion failures around faults/loans with tmpfs.
Revision 1.44.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:04 2020 UTC (3 years, 2 months ago) by martin
Branch: phil-wifi
Changes since 1.44.16.1: +5 -1
lines
Diff to previous 1.44.16.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)
Merge changes from current as of 20200406
Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 22 18:32:42 2020 UTC (3 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.46: +2 -1
lines
Diff to previous 1.46 (colored)
Process concurrent page faults on individual uvm_objects / vm_amaps in parallel, where the relevant pages are already in-core. Proposed on tech-kern. Temporarily disabled on MP architectures with __HAVE_UNLOCKED_PMAP until adjustments are made to their pmaps.
Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 14 20:45:23 2020 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.45: +4 -1
lines
Diff to previous 1.45 (colored)
Make uvm_pagemarkdirty() responsible for putting vnodes onto the syncer work list. Proposed on tech-kern@.
Revision 1.44.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:58 2019 UTC (4 years ago) by christos
Branch: phil-wifi
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored)
Sync with HEAD
Revision 1.44.14.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:08 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
Sync with HEAD, resolve a few conflicts
Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 9 20:33:04 2018 UTC (4 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored)
update comment - PGO_JOURNALLOCKED now supported for 'get' too
Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:22 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.43: +2 -1
lines
Diff to previous 1.43 (colored) next main 1.44 (colored)
update from HEAD
Revision 1.43.20.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:54 2017 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.43: +2 -1
lines
Diff to previous 1.43 (colored) next main 1.44 (colored)
Sync with HEAD
Revision 1.43.16.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43: +2 -1
lines
Diff to previous 1.43 (colored) next main 1.44 (colored)
Sync with HEAD
Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 13 04:43:16 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.43: +2 -1
lines
Diff to previous 1.43 (colored)
add missing forward struct decl
Revision 1.42.6.1 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:42 2012 UTC (11 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
sync to latest -current.
Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:20 2012 UTC (11 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
sync with head.
Revision 1.42.8.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:13 2012 UTC (11 years, 1 month ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
Pull up following revision(s) (requested by chs in ticket #204): sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44 sys/ufs/ffs/ffs_vfsops.c: revision 1.277 sys/fs/v7fs/v7fs_vnops.c: revision 1.11 sys/ufs/chfs/chfs_vnops.c: revision 1.7 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61 sys/miscfs/genfs/genfs_io.c: revision 1.54 sys/kern/vfs_wapbl.c: revision 1.52 sys/uvm/uvm_pager.h: revision 1.43 sys/ufs/ffs/ffs_vnops.c: revision 1.121 sys/kern/vfs_subr.c: revision 1.434 sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83 sys/fs/ntfs/ntfs_vnops.c: revision 1.51 sys/fs/udf/udf_subr.c: revision 1.119 sys/miscfs/specfs/spec_vnops.c: revision 1.135 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103 sys/fs/udf/udf_vnops.c: revision 1.71 sys/ufs/ufs/ufs_readwrite.c: revision 1.104 change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325. mark all wapbl I/O as BPRIO_TIMECRITICAL. this is the second part of addressing PR 46325.
Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:01 2012 UTC (11 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
pgoyette-localcount,
nick-nhusb
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored)
change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325.
Revision 1.42 / (download) - annotate - [select for diffs], Wed Sep 28 22:52:15 2011 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
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-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
netbsd-6,
jmcneill-usbmp
Changes since 1.41: +2 -1
lines
Diff to previous 1.41 (colored)
Reallocate emergency pager va when ncolors is increased. (modication of patch from mrg).
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:23 2011 UTC (12 years ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.39: +2 -13
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Sync with HEAD.
Revision 1.38.12.1 / (download) - annotate - [select for diffs], Fri May 20 08:11:34 2011 UTC (12 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.38: +2 -1
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).
Revision 1.38.16.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:37 2011 UTC (12 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38: +3 -13
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
sync with head
Revision 1.39.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:07 2011 UTC (12 years, 4 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.39: +2 -13
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Sync with HEAD
Revision 1.41 / (download) - annotate - [select for diffs], Wed Feb 2 20:07:25 2011 UTC (12 years, 4 months ago) by chuck
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.40: +2 -6
lines
Diff to previous 1.40 (colored)
udpate license clauses on my code to match the new-style BSD licenses. verified with Mike Hibler it is ok to remove clause 3 on utah copyright, as per UCB. based on diff that rmind@ sent me. no functional change with this commit.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Feb 2 15:13:34 2011 UTC (12 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.39: +1 -8
lines
Diff to previous 1.39 (colored)
udpate license clauses on my code to match the new-style BSD licenses. based on diff that rmind@ sent me. no functional change with this commit.
Revision 1.38.14.3 / (download) - annotate - [select for diffs], Sun Nov 21 15:00:12 2010 UTC (12 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38.14.2: +2 -2
lines
Diff to previous 1.38.14.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)
Rename PGO_ZERO as PGO_HOLE, and s/uvm_page_zeropage/uvm_page_holepage/.
Revision 1.38.14.2 / (download) - annotate - [select for diffs], Sun Nov 21 12:42:59 2010 UTC (12 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38.14.1: +2 -0
lines
Diff to previous 1.38.14.1 (colored) to branchpoint 1.38 (colored)
Resurrect PGO_ZERO support. When vnode pager encounters hole pages in XIP'ed vnodes, it fills page slots with PGO_ZERO and returns them back to the caller (fault handler). Fault handlers are responsible to check page slots and redirect PGO_ZERO to the single "zero page" allocated by calling uvm_page_zeropage_alloc(9). The zero page is wired, read-only (PG_RDONLY) page. It's shared by multiple vnodes, it has no single owner. XIP'ed vnodes are supposed to be "stable" during I/O (unlocked). Because XIP'ed mounts are always read-only. There's no chance to change mappings of XIP'ed vnodes and their XIP'ed pages. Thus the cached uobj is reused after pgo_get() for PGO_ZERO. (Do we need a new concept of "read-only UVM object"?)
Revision 1.38.14.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:57 2010 UTC (12 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38: +2 -1
lines
Diff to previous 1.38 (colored)
Sync with HEAD (-D20101022).
Revision 1.37.20.2 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:47 2010 UTC (12 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.20.1: +2 -1
lines
Diff to previous 1.37.20.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
sync with head
Revision 1.38.10.1 / (download) - annotate - [select for diffs], Tue Sep 7 19:33:44 2010 UTC (12 years, 9 months ago) by bouyer
Branch: netbsd-5-0
Changes since 1.38: +2 -1
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
Pull up following revision(s) (requested by chs in ticket #1448): sys/uvm/uvm_pager.h: revision 1.39 via patch sys/miscfs/genfs/genfs_vnops.c: revision 1.183 via patch sys/ufs/ufs/ufs_inode.c: revision 1.83 via patch sys/miscfs/genfs/genfs_io.c: revision 1.40 via patch sys/miscfs/genfs/genfs_node.h: revision 1.20 via patch replace the earlier workaround for PR 40389 with a better fix. the earlier change caused data corruption by freeing pages without invaliding their mappings. instead of the trylock/retry, just take the genfs-node lock before calling VOP_GETPAGES() and pass a new flag to tell it that we're already holding this lock.
Revision 1.38.4.1 / (download) - annotate - [select for diffs], Tue Sep 7 19:33:35 2010 UTC (12 years, 9 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.38: +2 -1
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
Pull up following revision(s) (requested by chs in ticket #1448): sys/uvm/uvm_pager.h: revision 1.39 via patch sys/miscfs/genfs/genfs_vnops.c: revision 1.183 via patch sys/ufs/ufs/ufs_inode.c: revision 1.83 via patch sys/miscfs/genfs/genfs_io.c: revision 1.40 via patch sys/miscfs/genfs/genfs_node.h: revision 1.20 via patch replace the earlier workaround for PR 40389 with a better fix. the earlier change caused data corruption by freeing pages without invaliding their mappings. instead of the trylock/retry, just take the genfs-node lock before calling VOP_GETPAGES() and pass a new flag to tell it that we're already holding this lock.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 1 16:56:19 2010 UTC (12 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.38: +2 -1
lines
Diff to previous 1.38 (colored)
replace the earlier workaround for PR 40389 with a better fix. the earlier change caused data corruption by freeing pages without invaliding their mappings. instead of the trylock/retry, just take the genfs-node lock before calling VOP_GETPAGES() and pass a new flag to tell it that we're already holding this lock.
Revision 1.37.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:39 2009 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored)
sync with head.
Revision 1.37.26.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:11 2008 UTC (14 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Sync with HEAD.
Revision 1.37.16.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:07 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37: +1 -0
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Sync with HEAD.
Revision 1.37.22.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:06 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 22 10:48:22 2008 UTC (14 years, 9 months 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-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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,
mjf-devfs2-base,
matt-premerge-20091211,
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-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: uebayasi-xip,
rmind-uvmplock,
netbsd-5-0,
netbsd-5,
matt-nb5-mips64
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored)
Add snapshot support for logging ffs file systems. - Add UFS_WAPBL_BEGIN() / UFS_WAPBL_END() where needed. - Expunge WAPBL log inodes from snapshots. - Ffs_copyonwrite() and ffs_snapblkfree() must run inside a WAPBL transaction. - Add ffs_gop_write() as a wrapper around genfs_gop_write() that makes sure genfs_gop_write() gets always called inside a WAPBL transaction. - Add VOP_PUTPAGES() flag PGO_JOURNALLOCKED to tag calls to VOP_PUTPAGES() inside a WAPBL transaction. Reviewed by: Simon Burge <simonb@netbsd.org>, Greg Oster <oster@netbsd.org> PGO_JOURNALLOCKED / ffs_gop_write() part presented on tech-kern@.
Revision 1.36.12.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:34 2007 UTC (15 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.36: +3 -11
lines
Diff to previous 1.36 (colored) next main 1.37 (colored)
Sync with HEAD
Revision 1.36.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:32 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.36: +3 -11
lines
Diff to previous 1.36 (colored) next main 1.37 (colored)
sync with HEAD
Revision 1.36.6.1 / (download) - annotate - [select for diffs], Sun Oct 28 20:11:17 2007 UTC (15 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36: +3 -11
lines
Diff to previous 1.36 (colored) next main 1.37 (colored)
Sync with HEAD.
Revision 1.28.16.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:55 2007 UTC (15 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.16.2: +3 -11
lines
Diff to previous 1.28.16.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
sync with head.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Oct 25 13:03:06 2007 UTC (15 years, 7 months ago) by yamt
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,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
mjf-devfs,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2,
haad-dm
Changes since 1.36: +3 -11
lines
Diff to previous 1.36 (colored)
defparam PAGER_MAP_SIZE.
Revision 1.28.16.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:47:11 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.16.1: +3 -2
lines
Diff to previous 1.28.16.1 (colored) to branchpoint 1.28 (colored)
sync with head.
Revision 1.34.26.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:57 2007 UTC (15 years, 11 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.34: +3 -2
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Sync with head.
Revision 1.34.24.1 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:22 2007 UTC (16 years ago) by ad
Branch: vmlocking
Changes since 1.34: +3 -2
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Sync with head.
Revision 1.34.20.1 / (download) - annotate - [select for diffs], Mon May 7 10:56:18 2007 UTC (16 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.34: +3 -2
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
sync with head.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 23 20:10:50 2007 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
adjust misleading comment: PGO_SYNCIO does not depend on PGO_CLEANIT
Revision 1.34.18.1 / (download) - annotate - [select for diffs], Mon Apr 16 20:01:15 2007 UTC (16 years, 1 month ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.34: +2 -1
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Pull up following revision(s) (requested by chs in ticket #577): sys/kern/vfs_subr.c: revision 1.287 sys/fs/union/union_vnops.c: revision 1.20 sys/miscfs/genfs/layer_vnops.c: revision 1.30 sys/uvm/uvm_pager.h: revision 1.35 define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it to skip unnecessary flushing when layered file system vnodes are recycled. this also prevents a deadlock with the dodgy LFS putpages routine. fixes the non-LFS part of PR 36150.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 16 05:14:54 2007 UTC (16 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.34: +2 -1
lines
Diff to previous 1.34 (colored)
define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it to skip unnecessary flushing when layered file system vnodes are recycled. this also prevents a deadlock with the dodgy LFS putpages routine. fixes the non-LFS part of PR 36150.
Revision 1.32.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (16 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.32: +3 -13
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
sync with head
Revision 1.28.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:40 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28: +5 -13
lines
Diff to previous 1.28 (colored)
sync with head.
Revision 1.32.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:30 2006 UTC (17 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.32: +3 -13
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
Sync with head.
Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:51 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.32.2.1: +2 -2
lines
Diff to previous 1.32.2.1 (colored) next main 1.33 (colored)
sync with head.
Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 22 22:28:18 2006 UTC (17 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
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,
thorpej-atomic-base,
thorpej-atomic,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
reinoud-bufcleanup,
post-newlock2-merge,
peter-altq-base,
peter-altq,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
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-idlelwp,
vmlocking,
netbsd-4,
mjf-ufs-trans
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored)
kill the "fault_type" argument to pager's pgo_fault() methods it is never used (and using it would comprise an abstraction violation imho)
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:31 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.32: +2 -12
lines
Diff to previous 1.32 (colored)
sync with head.
Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 11 12:45:07 2006 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.32: +2 -12
lines
Diff to previous 1.32 (colored)
remove the following options. no objections on tech-kern@. UVM_PAGER_INLINE UVM_AMAP_INLINE UVM_PAGE_INLINE UVM_MAP_INLINE
Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 24 20:45:10 2005 UTC (17 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.31: +2 -2
lines
Diff to previous 1.31 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:29 2005 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.30: +1 -1
lines
Diff to previous 1.30 (colored)
merge ktrace-lwp.
Revision 1.26.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:40 2005 UTC (17 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.3: +3 -1
lines
Diff to previous 1.26.2.3 (colored) next main 1.27 (colored)
Sync with HEAD. Here we go again...
Revision 1.28.14.1 / (download) - annotate - [select for diffs], Wed Aug 24 18:43:38 2005 UTC (17 years, 9 months ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.28: +3 -1
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Pull up following revision(s) (requested by yamt in ticket #688): sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch sys/ufs/ffs/ffs_vfsops.c: revision 1.165 sys/ufs/lfs/lfs_extern.h: revision 1.69 sys/fs/filecorefs/filecore_vfsops.c: revision 1.20 sys/nfs/nfs_node.c: revision 1.80 sys/fs/smbfs/smbfs_node.c: revision 1.24 sys/fs/cd9660/cd9660_vfsops.c: revision 1.24 sys/fs/msdosfs/msdosfs_denode.c: revision 1.8 sys/miscfs/genfs/genfs_node.h: revision 1.6 sys/ufs/lfs/lfs_vfsops.c: revision 1.183 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86 sys/fs/adosfs/advfsops.c: revision 1.23 sys/fs/ntfs/ntfs_vfsops.c: revision 1.31 - constify genfs_ops. - use member designators. sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch genfs_getpages: don't forget to put the vnode onto the syncer's work que ue even in the case of PGO_LOCKED. sys/uvm/uvm_bio.c: revision 1.40 sys/uvm/uvm_pager.h: revision 1.29 sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch sys/ufs/ufs/ufs_inode.c: revision 1.50 - introduce PGO_NOBLOCKALLOC and use it for ubc mapping to prevent unnecessary block allocations in the case that page size > block size. - ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than VM_PROT_READ. sys/uvm/uvm_fault.c: revision 1.96 sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch sys/uvm/uvm_object.h: revision 1.19 sys/miscfs/genfs/genfs_node.h: revision 1.7 ensure that vnodes with dirty pages are always on syncer's queue. - genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by setting "wasclean" false when encountering them. suggested by Stephan Uphoff in PR/24596 (1). - genfs_putpages: write protect pages when cleaning out, if we're going to take the vnode off the syncer's queue. uvm_fault: don't write-map pages unless its vnode is already on the syncer's queue. fix PR/24596 (3) but in the different way from the suggested fix. (to keep our current behaviour, ie. not to require explicit msync. discussed on tech-kern@.) - genfs_putpages: don't mistakenly take a vnode off the queue by introducing a generation number in genfs_node. genfs_getpages: increment the generation number. suggested by Stephan Uphoff in PR/24596 (2). - add some assertions. sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch genfs_putpages: don't bother to clean the vnode unless VONWORKLST. sys/ufs/ffs/ffs_vnops.c: revision 1.71 ffs_full_fsync: because VBLK/VCHR can be mmap'ed, do VOP_PUTPAGES for them as well. sys/uvm/uvm_fault.c: revision 1.97 uvm_fault: check a correct object in the case of layered filesystems. fix PR/30811 from Jukka Salmi. sys/uvm/uvm_object.h: revision 1.20 sys/ufs/ffs/ffs_vfsops.c: revision 1.167 sys/uvm/uvm_bio.c: revision 1.41 sys/ufs/ufs/ufs_vnops.c: revision 1.129 sys/uvm/uvm_mmap.c: revision 1.92 sys/uvm/uvm_fault.c: revision 1.98 sys/kern/vfs_subr.c: revision 1.252 sys/fs/msdosfs/denode.h: revision 1.5 sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch sys/fs/msdosfs/msdosfs_denode.c: revision 1.9 sys/sys/vnode.h: revision 1.141 sys/ufs/ufs/ufs_inode.c: revision 1.51 sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch sys/miscfs/genfs/genfs_node.h: revision 1.8 sys/ufs/lfs/lfs_vfsops.c: revision 1.184 sys/uvm/uvm_pager.h: revision 1.30 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87 update file timestamps for nfsd loaned-read and mmap. PR/25279. discussed on tech-kern@. sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch don't write-protect wired pages. pointed by Chuck Silvers. for now, leave a vnode on the syncer's queue, as suggested by him. sys/ufs/ffs/ffs_vnops.c: revision 1.72 revert VCHR part of ffs_vnops.c 1.71. as VCHR uses the device pager, no point to call VOP_PUTPAGES here. pointed by Chuck Silvers.
Revision 1.30 / (download) - annotate - [select for diffs], Sat Jul 23 12:18:41 2005 UTC (17 years, 10 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
Changes since 1.29: +2 -1
lines
Diff to previous 1.29 (colored)
update file timestamps for nfsd loaned-read and mmap. PR/25279. discussed on tech-kern@.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 17 09:13:35 2005 UTC (17 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.28: +2 -1
lines
Diff to previous 1.28 (colored)
- introduce PGO_NOBLOCKALLOC and use it for ubc mapping to prevent unnecessary block allocations in the case that page size > block size. - ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than VM_PROT_READ.
Revision 1.26.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:29 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.2: +1 -1
lines
Diff to previous 1.26.2.2 (colored)
Fix the sync with head I botched.
Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:57:12 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.1: +0 -0
lines
Diff to previous 1.26.2.1 (colored)
Sync with HEAD.
Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:57:08 2004 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26: +40 -7
lines
Diff to previous 1.26 (colored)
Sync with HEAD
Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 24 07:55:01 2004 UTC (19 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-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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf,
netbsd-3
Changes since 1.27: +6 -6
lines
Diff to previous 1.27 (colored)
Nuke __P().
Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:49 2003 UTC (19 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.26: +35 -2
lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Mon Feb 17 23:48:24 2003 UTC (20 years, 3 months ago) by perseant
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.25: +2 -1
lines
Diff to previous 1.25 (colored)
Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now (there are still some details to work out) but expect that to go away soon. To support these basic changes (creation of lfs_putpages, lfs_gop_write, mods to lfs_balloc) several other changes were made, to wit: * Create a writer daemon kernel thread whose purpose is to handle page writes for the pagedaemon, but which also takes over some of the functions of lfs_check(). This thread is started the first time an LFS is mounted. * Add a "flags" parameter to GOP_SIZE. Current values are GOP_SIZE_READ, meaning that the call should return the size of the in-core version of the file, and GOP_SIZE_WRITE, meaning that it should return the on-disk size. One of GOP_SIZE_READ or GOP_SIZE_WRITE must be specified. * Instead of using malloc(...M_WAITOK) for everything, reserve enough resources to get by and use malloc(...M_NOWAIT), using the reserves if necessary. Use the pool subsystem for structures small enough that this is feasible. This also obsoletes LFS_THROTTLE. And a few that are not strictly necessary: * Moves the LFS inode extensions off onto a separately allocated structure; getting closer to LFS as an LKM. "Welcome to 1.6O." * Unified GOP_ALLOC between FFS and LFS. * Update LFS copyright headers to correct values. * Actually cast to unsigned in lfs_shellsort, like the comment says. * Keep track of which segments were empty before the previous checkpoint; any segments that pass two checkpoints both dirty and empty can be summarily cleaned. Do this. Right now lfs_segclean still works, but this should be turned into an effectless compatibility syscall.
Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:18 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.23.2.1: +2 -3
lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)
catch up with -current on kqueue branch
Revision 1.20.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:24 2002 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.20.2.3: +2 -3
lines
Diff to previous 1.20.2.3 (colored) next main 1.21 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 25 02:08:10 2002 UTC (21 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-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,
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,
gehenna-devsw,
fvdl_fs64_base
Changes since 1.24: +2 -3
lines
Diff to previous 1.24 (colored)
remove PGO_WEAK, it isn't needed anymore.
Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:45 2002 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.23: +32 -47
lines
Diff to previous 1.23 (colored)
Sync kqueue branch with -current.
Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:46 2001 UTC (21 years, 8 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.23: +32 -47
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
Catch up with -current.
Revision 1.20.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:17 2001 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20.2.2: +32 -47
lines
Diff to previous 1.20.2.2 (colored)
Catch up to -current.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:47 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
post-chs-ubcperf,
newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Changes since 1.23: +32 -47
lines
Diff to previous 1.23 (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.20.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:10:42 2001 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20.2.1: +12 -11
lines
Diff to previous 1.20.2.1 (colored)
Catch up to -current.
Revision 1.23 / (download) - annotate - [select for diffs], Sat May 26 21:27:21 2001 UTC (22 years ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp,
kqueue
Changes since 1.22: +5 -4
lines
Diff to previous 1.22 (colored)
replace vm_page_t with struct vm_page *.
Revision 1.22 / (download) - annotate - [select for diffs], Fri May 25 04:06:16 2001 UTC (22 years ago) by chs
Branch: MAIN
Changes since 1.21: +9 -9
lines
Diff to previous 1.21 (colored)
remove trailing whitespace.
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:59:21 2001 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20: +1 -23
lines
Diff to previous 1.20 (colored)
Catch up with -current.
Revision 1.10.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:32:14 2001 UTC (22 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.10.2.2: +1 -23
lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
Sync with HEAD.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 10 22:46:50 2001 UTC (22 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.20: +1 -23
lines
Diff to previous 1.20 (colored)
eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. the mapping is: VM_PAGER_OK 0 VM_PAGER_BAD <unused> VM_PAGER_FAIL <unused> VM_PAGER_PEND 0 (see below) VM_PAGER_ERROR EIO VM_PAGER_AGAIN EAGAIN VM_PAGER_UNLOCK EBUSY VM_PAGER_REFAULT ERESTART for async i/o requests, it used to be possible for the request to be convert to sync, and the pager would return VM_PAGER_OK or VM_PAGER_PEND to indicate whether the caller should perform post-i/o cleanup. this is no longer allowed; pagers must now return 0 to indicate that the async i/o was successfully started, and the caller never needs to worry about doing the post-i/o cleanup.
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:21:04 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.10.2.1: +19 -28
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)
Sync with HEAD.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Nov 27 08:40:05 2000 UTC (22 years, 6 months ago) by chs
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.19: +9 -24
lines
Diff to previous 1.19 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 27 08:19:51 2000 UTC (22 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.18: +3 -1
lines
Diff to previous 1.18 (colored)
allow ports to override PAGER_MAP_SIZE in machine/vmparam.h. some ports (such as arm32) don't have enough KVA for the increased default size once the UBC mapping is also present.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 24 22:41:39 2000 UTC (22 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.17: +9 -1
lines
Diff to previous 1.17 (colored)
increase PAGER_MAP_SIZE to 16MB and move it to uvm_pager.h since the alpha and mips pmaps use it.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 24 20:34:01 2000 UTC (22 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.16: +1 -5
lines
Diff to previous 1.16 (colored)
g/c unused pager ops "asyncget" and "aiodone".
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:12:04 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.10: +77 -15
lines
Diff to previous 1.10 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:18 2000 UTC (22 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.15: +62 -1
lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Fri May 19 03:45:04 2000 UTC (23 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.14: +6 -1
lines
Diff to previous 1.14 (colored)
Tell uvm_pagermapin() the direction of the I/O so that it can map with only the protection that it needs.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 3 08:09:02 2000 UTC (23 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.13: +1 -2
lines
Diff to previous 1.13 (colored)
remove uvm_shareprot(). no longer needed since the demise of share maps.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 3 07:35:24 2000 UTC (23 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.12: +1 -3
lines
Diff to previous 1.12 (colored)
remove the "shareprot" pagerop. it's not needed anymore since share maps are long gone.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 26 20:54:47 2000 UTC (23 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.11: +10 -11
lines
Diff to previous 1.11 (colored)
Merge parts of chs-ubc2 into the trunk: Add a new type voff_t (defined as a synonym for off_t) to describe offsets into uvm objects, and update the appropriate interfaces to use it, the most visible effect being the ability to mmap() file offsets beyond the range of a vaddr_t. Originally by Chuck Silvers; blame me for problems caused by merging this into non-UBC.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 11 06:57:50 2000 UTC (23 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
add support for ``swapctl -d'' (removing swap space). improve handling of i/o errors in swap space. reviewed by: Chuck Cranor
Revision 1.9.4.5 / (download) - annotate - [select for diffs], Mon Aug 9 00:05:56 1999 UTC (23 years, 10 months ago) by chs
Branch: chs-ubc2
Changes since 1.9.4.4: +9 -12
lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
create a new type "voff_t" for uvm_object offsets and define it to be "off_t". also, remove pgo_asyncget().
Revision 1.9.4.4 / (download) - annotate - [select for diffs], Sun Jul 11 05:47:29 1999 UTC (23 years, 11 months ago) by chs
Branch: chs-ubc2
Changes since 1.9.4.3: +2 -1
lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored)
add uvm_errno2vmerror().
Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sun Jul 4 02:03:21 1999 UTC (23 years, 11 months ago) by chs
Branch: chs-ubc2
Changes since 1.9.4.2: +4 -29
lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)
remove uvm_aiodesc and uvm_aiobuf. update uvm_pagermapin() proto.
Revision 1.9.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:55:17 1999 UTC (23 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.9.4.1: +4 -1
lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)
Sync w/ -current.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 21 17:25:12 1999 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.9: +4 -1
lines
Diff to previous 1.9 (colored)
Protect prototypes, certain macros, and inlines from userland.
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:37 1999 UTC (24 years ago) by chs
Branch: chs-ubc2
Changes since 1.9: +14 -2
lines
Diff to previous 1.9 (colored)
merge everything from chs-ubc branch.
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun May 30 15:34:45 1999 UTC (24 years ago) by chs
Branch: chs-ubc
Changes since 1.7.2.2: +4 -1
lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
add a flags field to struct uvm_aiodesc and define a flag for it.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 25 18:48:55 1999 UTC (24 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.8: +1 -5
lines
Diff to previous 1.8 (colored)
remove now >1 year old pre-release message.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 24 03:45:28 1999 UTC (24 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.7: +1 -3
lines
Diff to previous 1.7 (colored)
after discussion with chuck, nuke pgo_attach from uvm_pagerops
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Thu Feb 25 04:25:05 1999 UTC (24 years, 3 months ago) by chs
Branch: chs-ubc
Changes since 1.7.2.1: +9 -2
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)
add aio stuff.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Nov 9 06:06:39 1998 UTC (24 years, 7 months ago) by chs
Branch: chs-ubc
Changes since 1.7: +3 -1
lines
Diff to previous 1.7 (colored)
initial snapshot. lots left to do.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 13 02:11:03 1998 UTC (24 years, 10 months ago) by eeh
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Changes since 1.6: +16 -16
lines
Diff to previous 1.6 (colored)
Merge paddr_t changes into the main branch.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:15 1998 UTC (24 years, 10 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.6: +16 -16
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 9 00:58:58 1998 UTC (25 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.5: +35 -35
lines
Diff to previous 1.5 (colored)
KNF.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 10 14:12:26 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.4: +1 -4
lines
Diff to previous 1.4 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 10 02:34:56 1998 UTC (25 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.3: +6 -1
lines
Diff to previous 1.3 (colored)
add/cleanup multiple inclusion protection.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 11:09:29 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.2: +2 -0
lines
Diff to previous 1.2 (colored)
restore rcsids
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 6 22:32:20 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
RCS ID police.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Feb 5 06:25:09 1998 UTC (25 years, 4 months ago) by mrg
Branch: CDC
CVS Tags: uvm980205
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (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 UVM kernel code portion. this will be KNF'd shortly. :-)
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 5 06:25:09 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
Initial revision