CVS log for src/sys/uvm/uvm_device.c
Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jul 7 13:27:02 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
uvm: CTASSERT about MIN_PAGE_SIZE, which is constant.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Jul 7 11:29:18 2022 UTC (2 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3
lines
Convert CTASSERT(9) for PAGE_{SIZE,MASK} into KASSERT(9).
They are not compile-time constants for sparc.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Jul 6 13:52:24 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -2
lines
kern: Work around spurious -Wtype-limits warnings.
This useless garbage warning is apparently designed to make it
painful to write portable safe arithmetic and I think we ought to
just disable it.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Jul 6 01:16:36 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +24 -8
lines
mmap(2): Guarantee two's-complement wraparound for D_NEGOFFSAFE.
XXX Not sure this should be allowed at all, but this way we don't
change the semantics of the existing code which was written under
essentially the assumption of -fwrapv.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Jul 6 01:15:51 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -9
lines
uvm/uvm_device.c: Sprinkle KNF.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jul 6 01:13:30 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +12 -7
lines
mmap(2): Prohibit overflowing offsets for non-D_NEGOFFSAFE devices.
Reported-by: syzbot+d5a96e7a0ebbd0b76dfc@syzkaller.appspotmail.com
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Jul 6 01:12:46 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -2
lines
uvm(9): fo_mmap caller guarantees positive size.
No functional change intended, just sprinkling assertions to make it
clearer.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:39:18 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3
lines
driver(9): New types dev_*_t for device driver devsw operations.
These will serve to replace the archaic and kludgey dev_type_* macros
which should've been typedefs all along.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:03 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Sync with HEAD.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Mar 13 15:29:55 2021 UTC (3 years, 8 months ago) by skrll
Branches: 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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
Consistently use %#jx instead of 0x%jx or just %jx in UVMHIST_LOG formats
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Jul 9 05:57:15 2020 UTC (4 years, 5 months ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +7 -8
lines
Consistently use UVMHIST(__func__)
Convert UVMHIST_{CALLED,LOG} into UVMHIST_CALLARGS
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:04 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +18 -19
lines
Merge changes from current as of 20200406
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:11 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +17 -18
lines
Sync with head.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Feb 24 12:38:57 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +8 -8
lines
0x%#x --> %#x for non-external codes.
Also, stop mixing up 0x%x and %#x in single files as far as possible.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:43 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +10 -10
lines
UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap. Others to follow later.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Feb 22 19:46:49 2020 UTC (4 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -4
lines
do not wait for memory in pgo_fault methods, just return ENOMEM
and let the uvm_fault code wait if it is appropriate.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 1 16:44:11 2019 UTC (5 years ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
__cacheline_aligned on a lock.
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:22 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +16 -16
lines
update from HEAD
Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:53 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +14 -13
lines
Pull up following revision(s) (requested by pgoyette in ticket #335):
share/man/man9/kernhist.9: 1.5-1.8
sys/arch/acorn26/acorn26/pmap.c: 1.39
sys/arch/arm/arm32/fault.c: 1.105 via patch
sys/arch/arm/arm32/pmap.c: 1.350, 1.359
sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
sys/arch/arm/omap/if_cpsw.c: 1.20
sys/arch/arm/omap/tiotg.c: 1.7
sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
sys/dev/ic/sl811hs.c: 1.98
sys/dev/usb/ehci.c: 1.256
sys/dev/usb/if_axe.c: 1.83
sys/dev/usb/motg.c: 1.18
sys/dev/usb/ohci.c: 1.274
sys/dev/usb/ucom.c: 1.119
sys/dev/usb/uhci.c: 1.277
sys/dev/usb/uhub.c: 1.137
sys/dev/usb/umass.c: 1.160-1.162
sys/dev/usb/umass_quirks.c: 1.100
sys/dev/usb/umass_scsipi.c: 1.55
sys/dev/usb/usb.c: 1.168
sys/dev/usb/usb_mem.c: 1.70
sys/dev/usb/usb_subr.c: 1.221
sys/dev/usb/usbdi.c: 1.175
sys/dev/usb/usbdi_util.c: 1.67-1.70
sys/dev/usb/usbroothub.c: 1.3
sys/dev/usb/xhci.c: 1.75
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
sys/kern/kern_history.c: 1.15
sys/kern/kern_xxx.c: 1.74
sys/kern/vfs_bio.c: 1.275-1.276
sys/miscfs/genfs/genfs_io.c: 1.71
sys/sys/kernhist.h: 1.21
sys/ufs/ffs/ffs_balloc.c: 1.63
sys/ufs/lfs/lfs_vfsops.c: 1.361
sys/ufs/lfs/ulfs_inode.c: 1.21
sys/ufs/lfs/ulfs_vnops.c: 1.52
sys/ufs/ufs/ufs_inode.c: 1.102
sys/ufs/ufs/ufs_vnops.c: 1.239
sys/uvm/pmap/pmap.c: 1.37-1.39
sys/uvm/pmap/pmap_tlb.c: 1.22
sys/uvm/uvm_amap.c: 1.108
sys/uvm/uvm_anon.c: 1.64
sys/uvm/uvm_aobj.c: 1.126
sys/uvm/uvm_bio.c: 1.91
sys/uvm/uvm_device.c: 1.66
sys/uvm/uvm_fault.c: 1.201
sys/uvm/uvm_km.c: 1.144
sys/uvm/uvm_loan.c: 1.85
sys/uvm/uvm_map.c: 1.353
sys/uvm/uvm_page.c: 1.194
sys/uvm/uvm_pager.c: 1.111
sys/uvm/uvm_pdaemon.c: 1.109
sys/uvm/uvm_swap.c: 1.175
sys/uvm/uvm_vnode.c: 1.103
usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3)
format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
but it is possible that I've missed some of them. I would be glad
to
update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes. Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one. :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:13 2017 UTC (7 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
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,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Branch point for: phil-wifi
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +14 -13
lines
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3) format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
but it is possible that I've missed some of them. I would be glad to
update any stragglers that anyone identifies.
Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:39 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +13 -5
lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.
Revision 1.63.24.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:41:01 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.24.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.24.1: +3 -3
lines
Sync with HEAD
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:53 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.1: +3 -4
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Dec 17 03:46:52 2016 UTC (7 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: prg-localcount2,
netbsd-8
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Omit needless nullmmap.
Convert the one user of it to nommap. No functional change to the
device driver, since uvm interpreted nullmmap just like nommap.
This slightly changes the uvm ABI so that the function pointer nullop
is no longer interpreted as non-mmappable. I do hereby declare that
I am surfing the kernel version bump from a few hours ago.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 23:47:57 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +14 -5
lines
Adapt machine-independant code to the new {b,c}devsw reference-counting
(using localcount(9)). All callers of {b,c}devsw_lookup() now call
{b,c}devsw_lookup_acquire() which retains a reference on the 'struct
{b,c}devsw'. This reference must be released by the caller once it is
finished with the structure's content (or other data that would disappear
if the 'struct {b,c}devsw' were to disappear).
Revision 1.63.24.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:33 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -4
lines
Sync with HEAD
Revision 1.63.22.1: download - view: text, markup, annotated - select for diffs
Wed Dec 31 06:44:01 2014 UTC (9 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +3 -4
lines
Pull up following revision(s) (requested by chs in ticket #363):
common/lib/libprop/prop_kern.c: revision 1.18
sys/arch/mac68k/dev/grf_compat.c: revision 1.27
sys/arch/x68k/dev/grf.c: revision 1.45
sys/external/bsd/drm/dist/bsd-core/drm_bufs.c: revision 1.12
sys/external/bsd/drm2/drm/drm_drv.c: revision 1.12
sys/external/bsd/drm2/drm/drm_vm.c: revision 1.6
sys/external/bsd/drm2/include/linux/mm.h: revision 1.4
sys/kern/vfs_vnops.c: revision 1.192 via patch
sys/rump/librump/rumpkern/vm.c: revision 1.160
sys/sys/file.h: revision 1.78 via patch
sys/uvm/uvm_device.c: revision 1.64
sys/uvm/uvm_device.h: revision 1.13
sys/uvm/uvm_extern.h: revision 1.192
sys/uvm/uvm_mmap.c: revision 1.150 via patch
add a new "fo_mmap" fileops method to allow use of arbitrary uvm_objects for
mappings of file objects. move vnode-specific details of mmap()ing a vnode
from uvm_mmap() to the new vnode-specific vn_mmap(). add new uvm_mmap_dev()
and uvm_mmap_anon() convenience functions for mapping character devices
and anonymous memory, and replace all other calls to uvm_mmap() with those.
use the new fileop in drm2 so that libdrm can use mmap() to map things
like on other platforms (instead of the ioctl that we have used so far).
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Dec 14 23:48:58 2014 UTC (9 years, 11 months ago) by chs
Branches: MAIN
CVS tags: pgoyette-localcount-base,
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,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -4
lines
add a new "fo_mmap" fileops method to allow use of arbitrary uvm_objects for
mappings of file objects. move vnode-specific details of mmap()ing a vnode
from uvm_mmap() to the new vnode-specific vn_mmap(). add new uvm_mmap_dev()
and uvm_mmap_anon() convenience functions for mapping character devices
and anonymous memory, and replace all other calls to uvm_mmap() with those.
use the new fileop in drm2 so that libdrm can use mmap() to map things
like on other platforms (instead of the ioctl that we have used so far).
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:58 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +4 -4
lines
sync with head
Revision 1.62.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:58 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +6 -6
lines
merge to -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:41 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
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,
nick-nhusb-base,
netbsd-7-base,
netbsd-6-base,
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,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
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-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
nick-nhusb,
netbsd-7
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -6
lines
extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)
releng@ acknowledged
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:34 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +21 -17
lines
Catchup with rmind-uvmplock merge.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:36:02 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +21 -17
lines
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:21 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +8 -12
lines
Sync with HEAD.
Revision 1.57.4.5: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:14 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57.4.4: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.4.4: +3 -3
lines
sync with head
Revision 1.57.4.4: download - view: text, markup, annotated - select for diffs
Thu May 19 03:43:05 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57.4.3: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.4.3: +5 -5
lines
Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.
Discussed with ad@.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Apr 23 18:14:12 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3
lines
Replace "malloc" in comments, remove unnecessary header inclusions.
Revision 1.57.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:35 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57.4.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.4.2: +7 -11
lines
sync with head
Revision 1.57.8.2: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:52 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.57.8.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.8.1: +7 -4
lines
Sync with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Feb 12 14:45:31 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -2
lines
need uvm_pmap.h for pmap_mmap_flags definition
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Feb 11 23:05:55 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -4
lines
add optional MD pmap_mmap_flags macro for passing flags between cdev_mmap
and pmap_enter, ok matt@
Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:06 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -9
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Feb 2 15:13:34 2011 UTC (13 years, 10 months ago) by chuck
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -9
lines
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.57.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 31 03:46:19 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +3 -3
lines
We already have a flag PMAP_NOCACHE. s/PMAP_UNMANAGED/PMAN_NOCACHE/.
Pointed out by Chuck Silvers, thanks.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Fri May 28 15:26:22 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +3 -1
lines
Comment.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 27 08:20:09 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -1
lines
Always map device pages via cdev as unmanaged for now.
I need this to read/write a NOR FlashROM from userland. Otherwise pmaps
believe the physload'ed ROM region as managed, and map it as cache
enabled, which prevents me from reading ROM command status, etc.
Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:27 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -3
lines
sync to netbsd-5
Revision 1.57.4.2: download - view: text, markup, annotated - select for diffs
Wed Mar 17 06:03:17 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57.4.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.4.1: +6 -6
lines
Reorganise UVM locking to protect P->V state and serialise pmap(9)
operations on the same page(s) by always locking their owner. Hence
lock order: "vmpage"-lock -> pmap-lock.
Patch, proposed on tech-kern@, from Andrew Doran.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:17 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +17 -13
lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.53.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:46 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.10.2: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.10.2: +2 -3
lines
sync with head
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Feb 5 03:49:11 2010 UTC (14 years, 10 months ago) by uebayasi
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: uebayasi-xip,
rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -3
lines
vnode.h is not used here.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:33:04 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +4 -3
lines
Sync with HEAD.
Revision 1.53.10.2: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:28 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.10.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.10.1: +4 -3
lines
sync with head.
Revision 1.54.8.1: download - view: text, markup, annotated - select for diffs
Tue Jun 23 06:56:52 2009 UTC (15 years, 5 months ago) by snj
Branches: 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-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -3
lines
Pull up following revision(s) (requested by mrg in ticket #826):
sys/sys/conf.h: revision 1.135
sys/uvm/uvm_device.c: revision 1.56
add a workaround for drm:
for device mmap()'s, if the D_NEGOFFSAFE flag is set, do not check
if the offset is negative.
this should go away with the test itself when all drivers are audited
and checked to not fail with negative offsets.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jun 20 19:24:27 2009 UTC (15 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -3
lines
add a workaround for drm:
for device mmap()'s, if the D_NEGOFFSAFE flag is set, do not check
if the offset is negative.
this should go away with the test itself when all drivers are audited
and checked to not fail with negative offsets.
Revision 1.53.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:39 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -8
lines
sync with head.
Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:36 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +5 -6
lines
Sync with HEAD.
Revision 1.53.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:43 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.53.6.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.6.1: +3 -4
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:39 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jym-xensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -6
lines
kill MALLOC and FREE macros.
Revision 1.53.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:06 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +4 -4
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.53.8.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:17 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +4 -4
lines
sync with head.
Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:38 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4
lines
Sync with HEAD.
Also fix build.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jun 4 13:35:24 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4
lines
udv_fault: pmap_update before releasing locks.
Revision 1.50.14.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:32 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.50.14.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.14.2: +23 -22
lines
Sync with HEAD.
Revision 1.45.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:20 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.5: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.5: +32 -31
lines
sync with head
Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:39 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +33 -32
lines
sync with HEAD
Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:35 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +23 -22
lines
Sync with HEAD
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:16 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +23 -22
lines
Merge vmlocking2 to head.
Revision 1.50.14.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:53 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.50.14.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.14.1: +11 -11
lines
Sync with HEAD.
Revision 1.50.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:57 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.50.6.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.6.1: +11 -11
lines
Sync with HEAD.
Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:17 2007 UTC (17 years ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +11 -11
lines
Pullup to HEAD
Revision 1.50.14.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:45 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Sync with HEAD.
Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:58:08 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.51.2.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.2: +2 -2
lines
Sync with head.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:33:09 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +11 -11
lines
Merge from vmlocking2 (use cdev_mmap()).
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:30:59 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.2.1: +3 -3
lines
Fix merge error.
Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:35:26 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.4: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.4: +3 -3
lines
sync with head
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:58 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +33 -32
lines
Pull the vmlocking changes into a new branch.
Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:15:24 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Sync with HEAD.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Dec 1 10:40:28 2007 UTC (17 years ago) by yamt
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
constify pagerops.
Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:47:05 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.3: +3 -3
lines
sync with head.
Revision 1.49.4.3: download - view: text, markup, annotated - select for diffs
Tue Aug 21 11:24:38 2007 UTC (17 years, 3 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.49.4.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.4.2: +3 -2
lines
destroy vmobjlock.
Revision 1.49.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:31 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.49.4.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.4.1: +7 -25
lines
Sync with HEAD.
Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:54 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -3
lines
Sync with head.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jun 24 22:56:58 2007 UTC (17 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
handle UVM_UNKNOWN_OFFSET.
Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:54 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +44 -26
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:55:25 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +4 -4
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:28 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +4 -4
lines
sync with head.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:05:00 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4
lines
TRUE -> true, FALSE -> false
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:51:05 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +6 -6
lines
sync with head.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:32:00 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +6 -6
lines
sync with head.
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 03:00:13 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +8 -8
lines
sync with head
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Sep 3 21:37:22 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: yamt-idlelwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +6 -6
lines
use c99 initializers
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:39 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
sync with head.
Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:28 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -4
lines
Sync with head.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:51 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -4
lines
sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Feb 22 22:28:18 2006 UTC (18 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-pdpolicy
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4
lines
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.46: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:29 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2
lines
merge ktrace-lwp.
Revision 1.41.6.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:39 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.41.6.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.6.3: +13 -24
lines
Sync with HEAD. Here we go again...
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:23:26 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3
lines
Small whitespace tweak.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:19:48 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -18
lines
Use ANSI function decls.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jun 6 12:09:19 2005 UTC (19 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -7
lines
introduce a macro to initialize uvm_object and use it.
Revision 1.41.6.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.41.6.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.41.6.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:57:11 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.41.6.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.1: +0 -0
lines
Sync with HEAD.
Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:57:04 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -8
lines
Sync with HEAD
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Mar 24 07:55:01 2004 UTC (20 years, 8 months ago) by junyoung
Branches: 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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -8
lines
Nuke __P().
Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:45:04 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.3: +15 -7
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.30.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:24:04 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.30.2.5: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.5: +13 -5
lines
Catch up to -current.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +15 -7
lines
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 03:45:49 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +15 -7
lines
Replace the direct-access to devsw table with calling devsw APIs.
Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:49:21 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.4: preferred, colored
Changes since revision 1.30.2.4: +5 -4
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:28 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +6 -5
lines
Catch up with -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Feb 28 21:00:23 2002 UTC (22 years, 9 months ago) by christos
Branches: 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,
gehenna-devsw-base,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -5
lines
use the <sys/conf.h> macro to get the mmap footprint.
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:31 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +14 -33
lines
Sync kqueue branch with -current.
Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:19:04 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.3: preferred, colored
Changes since revision 1.30.2.3: +6 -3
lines
Catch up to -current.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:52 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +6 -3
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Nov 10 07:36:59 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -3
lines
add RCSIDs, and in some cases, slightly cleanup #include order
Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:38 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.1: +11 -33
lines
Catch up with -current.
Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:37:11 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.2: preferred, colored
Changes since revision 1.30.2.2: +11 -33
lines
Catch up to -current.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:45 2001 UTC (23 years, 3 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -31
lines
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.36.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:16:31 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Update the kqueue branch to HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:42 2001 UTC (23 years, 3 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:46 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +18 -15
lines
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.30.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:10:25 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.1: preferred, colored
Changes since revision 1.30.2.1: +15 -13
lines
Catch up to -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat May 26 21:27:21 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
replace vm_page_t with struct vm_page *.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat May 26 16:32:47 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 25 04:06:12 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +10 -10
lines
remove trailing whitespace.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:17 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -1
lines
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:59:12 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6
lines
Catch up with -current.
Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:48 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16.2.3: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.3: +2 -2
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:56 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
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.16.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:10 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.2: +5 -5
lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Mar 10 22:46:48 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
lines
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.16.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:20:52 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +26 -86
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Nov 25 06:27:59 2000 UTC (24 years ago) by chs
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +26 -41
lines
lots of cleanup:
use queue.h macros and KASSERT().
address amap offsets in pages instead of bytes.
make amap_ref() and amap_unref() take an amap, offset and length
instead of a vm_map_entry_t.
improve whitespace and comments.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Nov 24 20:34:01 2000 UTC (24 years ago) by chs
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -46
lines
g/c unused pager ops "asyncget" and "aiodone".
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:59 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +81 -70
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Fri Jun 30 16:27:54 2000 UTC (24 years, 5 months ago) by simonb
Branches: netbsd-1-5
CVS tags: 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
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +14 -17
lines
Pull up mmap paddr_t/off_t changes from trunk.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:29:20 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jun 27 06:14:24 2000 UTC (24 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -5
lines
In udv_fault(), use an off_t for curr_offset so that the offset passed
to d_mmap isn't truncated on 64 bit architectures.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:17 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -3
lines
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.25: download - view: text, markup, annotated - select for diffs
Mon Jun 26 04:56:33 2000 UTC (24 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +10 -13
lines
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 24 23:49:43 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +35 -43
lines
Pull up rev. 1.24:
uvm_detach: eliminate degenerate loop construction.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 24 23:47:49 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1
lines
Pull up rev. 1.23:
Insert two missing `simple_unlock()'s' in udv_detach().
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jun 24 21:47:28 2000 UTC (24 years, 5 months ago) by pk
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +35 -43
lines
uvm_detach: eliminate degenerate loop construction.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jun 24 21:26:16 2000 UTC (24 years, 5 months ago) by pk
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1
lines
Insert two missing `simple_unlock()'s' in udv_detach().
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:42 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +11 -2
lines
Sync w/ netbsd-1-5-base.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 28 10:21:55 2000 UTC (24 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -2
lines
Don't silently truncate the voff_t offset to vaddr_t when passing it to
udv_attach. Pass the whole voff_t instead and do an explicite overflow
check before it is passed to the device's mmap handler (as "int", sadly).
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 3 07:35:24 2000 UTC (24 years, 8 months ago) by chs
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2
lines
remove the "shareprot" pagerop. it's not needed anymore since
share maps are long gone.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:54:46 2000 UTC (24 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -9
lines
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.19: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:46:59 2000 UTC (24 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2
lines
Kill duplicate udv_attach() prototype; it's a public interface, and declared
in uvm_device.h.
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:43 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +22 -6
lines
Pull up to last week's -current.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:42:28 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +22 -6
lines
Sync with -current
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:24:38 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
chs-ubc2-newbase
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -5
lines
Change the pmap_enter() API slightly; pmap_enter() now returns an error
value (KERN_SUCCESS or KERN_RESOURCE_SHORTAGE) indicating if it succeeded
or failed. Change the `wired' and `access_type' arguments to a single
`flags' argument, which includes the access type, and flags:
PMAP_WIRED the old `wired' boolean
PMAP_CANFAIL pmap_enter() is allowed to fail
If PMAP_CANFAIL is not specified, the pmap should behave as it always
has in the face of a drastic resource shortage: fall over dead.
Change the fault handler to deal with failure (which indicates resource
shortage) by unlocking everything, waiting for the pagedaemon to free
more memory, then retrying the fault.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 26 20:22:53 1999 UTC (25 years, 1 month ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +6 -4
lines
Pull up revision 1.17 (requested by ross):
Bugfix for device mmap fault handler, fixes serious performance
problem with alpha X server.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 24 16:29:23 1999 UTC (25 years, 1 month ago) by ross
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -4
lines
Patch from chuq for uvm r/w map oscillation bug.
Fixes the XalphaNetBSD slowdown.
Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:05:55 1999 UTC (25 years, 4 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.1: +8 -28
lines
create a new type "voff_t" for uvm_object offsets
and define it to be "off_t". also, remove pgo_asyncget().
Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:47:19 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
Sync w/ -current.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 8 10:26:21 1999 UTC (25 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
sanity: use ';' to separate statements
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Mar 26 21:58:39 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2
lines
Add a new `access type' argument to pmap_enter(). This indicates what type of
memory access a mapping was caused by. This is passed through from uvm_fault()
and udv_fault(), and in most other cases is 0.
The pmap module may use this to preset R/M information. On MMUs which require
R/M emulation, the implementation may preset the bits and avoid taking another
fault. On MMUs which keep R/M information in hardware, the implementation may
preset its cached bits to speed up the next call to pmap_is_modified() or
pmap_is_referenced().
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 25 18:48:50 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -6
lines
remove now >1 year old pre-release message.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 24 03:52:41 1999 UTC (25 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +19 -3
lines
modify udv_attach() and its caller (uvm_mmap()) so that it's passed the
offset and size of the requested region to be mapped, so that the
udv_attach() can use the device d_mmap() entry to check mappability
of the requested region.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 24 03:45:27 1999 UTC (25 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2
lines
after discussion with chuck, nuke pgo_attach from uvm_pagerops
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 19 05:23:26 1998 UTC (26 years ago) by mrg
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5
lines
check the return value of d_mmap before pmap_phys_address() gets hold of it.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 11 23:02:31 1998 UTC (26 years, 2 months ago) by chuck
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -10
lines
remove unused share map code from UVM:
- udv_fault() no longer has to worry about share map address translations
on device faults. simplify code.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:11:00 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +11 -12
lines
Merge paddr_t changes into the main branch.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:07:02 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +5 -7
lines
Revert cdevsw mmap routines to return int.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:04:09 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +15 -14
lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 5 20:51:05 1998 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -4
lines
Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 9 00:58:56 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +306 -307
lines
KNF.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:25:28 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -3
lines
Merge with Lite2 + local changes
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:12:07 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 7 11:08:17 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -1
lines
restore rcsids
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 7 02:18:27 1998 UTC (26 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -7
lines
rearrange a bit for clarity.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 6 22:31:41 1998 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
RCS ID police.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Feb 5 06:25:10 1998 UTC (26 years, 10 months ago) by mrg
Branches: CDC
CVS tags: uvm980205
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 5 06:25:10 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>