The NetBSD Project

CVS log for src/sys/uvm/uvm_device.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / uvm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80 / (download) - annotate - [select for diffs], Thu Jul 7 13:27:02 2022 UTC (19 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

uvm: CTASSERT about MIN_PAGE_SIZE, which is constant.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jul 7 11:29:18 2022 UTC (19 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Convert CTASSERT(9) for PAGE_{SIZE,MASK} into KASSERT(9).

They are not compile-time constants for sparc.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 6 13:52:24 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.77: +4 -2 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Wed Jul 6 01:16:36 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.76: +24 -8 lines
Diff to previous 1.76 (colored)

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) - annotate - [select for diffs], Wed Jul 6 01:15:51 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.75: +9 -9 lines
Diff to previous 1.75 (colored)

uvm/uvm_device.c: Sprinkle KNF.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jul 6 01:13:30 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.74: +12 -7 lines
Diff to previous 1.74 (colored)

mmap(2): Prohibit overflowing offsets for non-D_NEGOFFSAFE devices.

Reported-by: syzbot+d5a96e7a0ebbd0b76dfc@syzkaller.appspotmail.com

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jul 6 01:12:46 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.73: +4 -2 lines
Diff to previous 1.73 (colored)

uvm(9): fo_mmap caller guarantees positive size.

No functional change intended, just sprinkling assertions to make it
clearer.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Mar 28 12:39:18 2022 UTC (23 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:29:03 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Mar 13 15:29:55 2021 UTC (2 years, 11 months ago) by skrll
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-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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Consistently use %#jx instead of 0x%jx or just %jx in UVMHIST_LOG formats

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 9 05:57:15 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.70: +7 -8 lines
Diff to previous 1.70 (colored)

Consistently use UVMHIST(__func__)

Convert UVMHIST_{CALLED,LOG} into UVMHIST_CALLARGS

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:04 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.66: +18 -19 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Merge changes from current as of 20200406

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:11 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.67: +17 -18 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Feb 24 12:38:57 2020 UTC (4 years ago) by rin
Branch: 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
Changes since 1.69: +8 -8 lines
Diff to previous 1.69 (colored)

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) - annotate - [select for diffs], Sun Feb 23 15:46:43 2020 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.68: +10 -10 lines
Diff to previous 1.68 (colored)

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) - annotate - [select for diffs], Sat Feb 22 19:46:49 2020 UTC (4 years ago) by chs
Branch: MAIN
Changes since 1.67: +3 -4 lines
Diff to previous 1.67 (colored)

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) - annotate - [select for diffs], Sun Dec 1 16:44:11 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

__cacheline_aligned on a lock.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:22 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.63: +16 -16 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

update from HEAD

Revision 1.65.8.1 / (download) - annotate - [select for diffs], Thu Nov 2 21:29:53 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-8
CVS Tags: 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
Changes since 1.65: +14 -13 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

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) - annotate - [select for diffs], Sat Oct 28 00:37:13 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: 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-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
Changes since 1.65: +14 -13 lines
Diff to previous 1.65 (colored)

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) - annotate - [select for diffs], Thu Apr 27 05:36:39 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.65: +13 -5 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

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) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.63.24.1: +3 -3 lines
Diff to previous 1.63.24.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:53 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.64.2.1: +3 -4 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 17 03:46:52 2016 UTC (7 years, 2 months ago) by riastradh
Branch: 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
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Wed Jul 20 23:47:57 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.64: +14 -5 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Mon Apr 6 15:18:33 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

Sync with HEAD

Revision 1.63.22.1 / (download) - annotate - [select for diffs], Wed Dec 31 06:44:01 2014 UTC (9 years, 2 months ago) by snj
Branch: 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
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

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) - annotate - [select for diffs], Sun Dec 14 23:48:58 2014 UTC (9 years, 2 months ago) by chs
Branch: 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
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

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) - annotate - [select for diffs], Tue Apr 17 00:08:58 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:58 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

merge to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:41 2012 UTC (12 years, 1 month ago) by para
Branch: 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
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:34 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.61: +21 -17 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:02 2011 UTC (12 years, 8 months ago) by rmind
Branch: 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
Changes since 1.61: +21 -17 lines
Diff to previous 1.61 (colored)

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) - annotate - [select for diffs], Mon Jun 6 09:10:21 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.57: +8 -12 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.57.4.5 / (download) - annotate - [select for diffs], Tue May 31 03:05:14 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.4: +3 -3 lines
Diff to previous 1.57.4.4 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.57.4.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:05 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.3: +5 -5 lines
Diff to previous 1.57.4.3 (colored) to branchpoint 1.57 (colored)

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) - annotate - [select for diffs], Sat Apr 23 18:14:12 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Replace "malloc" in comments, remove unnecessary header inclusions.

Revision 1.57.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:35 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.2: +7 -11 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored)

sync with head

Revision 1.57.8.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:52 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.57.8.1: +7 -4 lines
Diff to previous 1.57.8.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 12 14:45:31 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

need uvm_pmap.h for pmap_mmap_flags definition

Revision 1.59 / (download) - annotate - [select for diffs], Fri Feb 11 23:05:55 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.58: +6 -4 lines
Diff to previous 1.58 (colored)

add optional MD pmap_mmap_flags macro for passing flags between cdev_mmap
and pmap_enter, ok matt@

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:06 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 2 15:13:34 2011 UTC (13 years, 1 month ago) by chuck
Branch: MAIN
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (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.57.2.3 / (download) - annotate - [select for diffs], Sun Oct 31 03:46:19 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57.2.2: +3 -3 lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

We already have a flag PMAP_NOCACHE.  s/PMAP_UNMANAGED/PMAN_NOCACHE/.
Pointed out by Chuck Silvers, thanks.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Fri May 28 15:26:22 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57.2.1: +3 -1 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored)

Comment.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Tue Apr 27 08:20:09 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57: +5 -1 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Wed Apr 21 00:28:27 2010 UTC (13 years, 10 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync to netbsd-5

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Wed Mar 17 06:03:17 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.1: +6 -6 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored)

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) - annotate - [select for diffs], Tue Mar 16 15:38:17 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57: +17 -13 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Thu Mar 11 15:04:46 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.10.2: +2 -3 lines
Diff to previous 1.53.10.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Fri Feb 5 03:49:11 2010 UTC (14 years, 1 month ago) by uebayasi
Branch: 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
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (colored)

vnode.h is not used here.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:33:04 2009 UTC (14 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.53.10.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:28 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.10.1: +4 -3 lines
Diff to previous 1.53.10.1 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Tue Jun 23 06:56:52 2009 UTC (14 years, 8 months ago) by snj
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-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
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

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) - annotate - [select for diffs], Sat Jun 20 19:24:27 2009 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Mon May 4 08:14:39 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +7 -8 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:36 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.54: +5 -6 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.53.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:43 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.53.6.1: +3 -4 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:39 2008 UTC (15 years, 2 months ago) by cegger
Branch: 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
Changes since 1.54: +5 -6 lines
Diff to previous 1.54 (colored)

kill MALLOC and FREE macros.

Revision 1.53.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:06 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:17 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:38 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Sync with HEAD.

Also fix build.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 4 13:35:24 2008 UTC (15 years, 9 months ago) by ad
Branch: 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
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

udv_fault: pmap_update before releasing locks.

Revision 1.50.14.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:32 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.50.14.2: +23 -22 lines
Diff to previous 1.50.14.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.45.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:20 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.5: +32 -31 lines
Diff to previous 1.45.2.5 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.50.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:39 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.50: +33 -32 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with HEAD

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:35 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.52: +23 -22 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:16 2008 UTC (16 years, 2 months ago) by ad
Branch: 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
Changes since 1.52: +23 -22 lines
Diff to previous 1.52 (colored)

Merge vmlocking2 to head.

Revision 1.50.14.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:53 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.50.14.1: +11 -11 lines
Diff to previous 1.50.14.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:57 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.50.6.1: +11 -11 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Sun Dec 9 16:04:17 2007 UTC (16 years, 2 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.49: +11 -11 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Pullup to HEAD

Revision 1.50.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:45 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Sat Dec 8 17:58:08 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.51.2.2: +2 -2 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Dec 8 15:33:09 2007 UTC (16 years, 2 months ago) by ad
Branch: 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
Changes since 1.51: +11 -11 lines
Diff to previous 1.51 (colored)

Merge from vmlocking2 (use cdev_mmap()).

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 15:30:59 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.51.2.1: +3 -3 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Fix merge error.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:35:26 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.4: +3 -3 lines
Diff to previous 1.45.2.4 (colored) to branchpoint 1.45 (colored)

sync with head

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:58 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.51: +33 -32 lines
Diff to previous 1.51 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Mon Dec 3 16:15:24 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Dec 1 10:40:28 2007 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

constify pagerops.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:47:05 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.3: +3 -3 lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.49.4.3 / (download) - annotate - [select for diffs], Tue Aug 21 11:24:38 2007 UTC (16 years, 6 months ago) by yamt
Branch: vmlocking
Changes since 1.49.4.2: +3 -2 lines
Diff to previous 1.49.4.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

destroy vmobjlock.

Revision 1.49.4.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:31 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.49.4.1: +7 -25 lines
Diff to previous 1.49.4.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:54 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jun 24 22:56:58 2007 UTC (16 years, 8 months ago) by christos
Branch: 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
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

handle UVM_UNKNOWN_OFFSET.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:54 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.49: +44 -26 lines
Diff to previous 1.49 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:25 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:28 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.2: +4 -4 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 22 06:05:00 2007 UTC (17 years ago) by thorpej
Branch: 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
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

TRUE -> true, FALSE -> false

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:05 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.1: +6 -6 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Thu Sep 14 12:32:00 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.48 / (download) - annotate - [select for diffs], Sun Sep 3 21:37:22 2006 UTC (17 years, 6 months ago) by christos
Branch: 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
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

use c99 initializers

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

sync with head.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:28 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with head.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:51 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Feb 22 22:28:18 2006 UTC (18 years ago) by drochner
Branch: 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
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:29 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

merge ktrace-lwp.

Revision 1.41.6.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:39 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.6.3: +13 -24 lines
Diff to previous 1.41.6.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with HEAD. Here we go again...

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jun 27 02:23:26 2005 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored)

Small whitespace tweak.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 27 02:19:48 2005 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +10 -18 lines
Diff to previous 1.43 (colored)

Use ANSI function decls.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jun 6 12:09:19 2005 UTC (18 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.42: +3 -7 lines
Diff to previous 1.42 (colored)

introduce a macro to initialize uvm_object and use it.

Revision 1.41.6.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:24 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.6.2: +2 -2 lines
Diff to previous 1.41.6.2 (colored) to branchpoint 1.41 (colored)

Fix the sync with head I botched.

Revision 1.41.6.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:57:11 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.6.1: +0 -0 lines
Diff to previous 1.41.6.1 (colored) to branchpoint 1.41 (colored)

Sync with HEAD.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:57:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored)

Sync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 24 07:55:01 2004 UTC (19 years, 11 months ago) by junyoung
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored)

Nuke __P().

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:45:04 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.36.2.3: +15 -7 lines
Diff to previous 1.36.2.3 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.30.2.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:24:04 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.30.2.5: +13 -5 lines
Diff to previous 1.30.2.5 (colored) next main 1.31 (colored)

Catch up to -current.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.40: +15 -7 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Thu May 16 03:45:49 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.40: +15 -7 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Replace the direct-access to devsw table with calling devsw APIs.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:21 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.4: +5 -4 lines
Diff to previous 1.30.2.4 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:28 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.36.2.2: +6 -5 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored)

Catch up with -current.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 28 21:00:23 2002 UTC (22 years ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.39: +6 -5 lines
Diff to previous 1.39 (colored)

use the <sys/conf.h> macro to get the mmap footprint.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:31 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.36.2.1: +14 -33 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

Sync kqueue branch with -current.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:19:04 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.3: +6 -3 lines
Diff to previous 1.30.2.3 (colored)

Catch up to -current.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:52 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.38: +6 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 10 07:36:59 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.38: +6 -3 lines
Diff to previous 1.38 (colored)

add RCSIDs, and in some cases, slightly cleanup #include order

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:38 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.36.4.1: +11 -33 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Catch up with -current.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:11 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.2: +11 -33 lines
Diff to previous 1.30.2.2 (colored)

Catch up to -current.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:45 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.37: +9 -31 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:16:31 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Update the kqueue branch to HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:42 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Fri Sep 7 04:45:46 2001 UTC (22 years, 6 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.36: +18 -15 lines
Diff to previous 1.36 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:10:25 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.1: +15 -13 lines
Diff to previous 1.30.2.1 (colored)

Catch up to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 26 21:27:21 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 26 16:32:47 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 25 04:06:12 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.33: +10 -10 lines
Diff to previous 1.33 (colored)

remove trailing whitespace.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:17 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Mon Apr 9 01:59:12 2001 UTC (22 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

Catch up with -current.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:48 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16.2.3: +2 -2 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:56 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:32:10 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16.2.2: +5 -5 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 10 22:46:48 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (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.16.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:20:52 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16.2.1: +26 -86 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Nov 25 06:27:59 2000 UTC (23 years, 3 months ago) by chs
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.29: +26 -41 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Fri Nov 24 20:34:01 2000 UTC (23 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.28: +1 -46 lines
Diff to previous 1.28 (colored)

g/c unused pager ops "asyncget" and "aiodone".

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:59 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16: +81 -70 lines
Diff to previous 1.16 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:54 2000 UTC (23 years, 8 months ago) by simonb
Branch: 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
Changes since 1.22.2.2: +14 -17 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 27 17:29:20 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

remove include of <vm/vm.h>

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 27 06:14:24 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Mon Jun 26 14:21:17 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:33 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.24: +10 -13 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Sat Jun 24 23:49:43 2000 UTC (23 years, 8 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.22.2.1: +35 -43 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

Pull up rev. 1.24:
uvm_detach: eliminate degenerate loop construction.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Jun 24 23:47:49 2000 UTC (23 years, 8 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Pull up rev. 1.23:
Insert two missing `simple_unlock()'s' in udv_detach().

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 24 21:47:28 2000 UTC (23 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.23: +35 -43 lines
Diff to previous 1.23 (colored)

uvm_detach: eliminate degenerate loop construction.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 24 21:26:16 2000 UTC (23 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Insert two missing `simple_unlock()'s' in udv_detach().

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:42 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.21: +11 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 28 10:21:55 2000 UTC (23 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.21: +11 -2 lines
Diff to previous 1.21 (colored)

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) - annotate - [select for diffs], Mon Apr 3 07:35:24 2000 UTC (23 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored)

remove the "shareprot" pagerop.  it's not needed anymore since
share maps are long gone.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 26 20:54:46 2000 UTC (23 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.19: +10 -9 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sun Mar 26 20:46:59 2000 UTC (23 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Kill duplicate udv_attach() prototype; it's a public interface, and declared
in uvm_device.h.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:43 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.16: +22 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up to last week's -current.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:28 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.16: +22 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with -current

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 13 00:24:38 1999 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, chs-ubc2-newbase
Changes since 1.17: +19 -5 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Tue Oct 26 20:22:53 1999 UTC (24 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.15: +6 -4 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Sun Oct 24 16:29:23 1999 UTC (24 years, 4 months ago) by ross
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

Patch from chuq for uvm r/w map oscillation bug.
Fixes the XalphaNetBSD slowdown.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Mon Aug 9 00:05:55 1999 UTC (24 years, 7 months ago) by chs
Branch: chs-ubc2
Changes since 1.15.4.1: +8 -28 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Mon Jun 21 01:47:19 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Sync w/ -current.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 8 10:26:21 1999 UTC (24 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

sanity: use ';' to separate statements

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 26 21:58:39 1999 UTC (24 years, 11 months ago) by mycroft
Branch: 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
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Thu Mar 25 18:48:50 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.13: +1 -6 lines
Diff to previous 1.13 (colored)

remove now >1 year old pre-release message.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 24 03:52:41 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.12: +19 -3 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Wed Mar 24 03:45:27 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

after discussion with chuck, nuke pgo_attach from uvm_pagerops

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 19 05:23:26 1998 UTC (25 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

check the return value of d_mmap before pmap_phys_address() gets hold of it.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 11 23:02:31 1998 UTC (25 years, 4 months ago) by chuck
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.9: +7 -10 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Thu Aug 13 02:11:00 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.8: +11 -12 lines
Diff to previous 1.8 (colored)

Merge paddr_t changes into the main branch.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Aug 8 03:07:02 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.8.2.1: +5 -7 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:09 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.8: +15 -14 lines
Diff to previous 1.8 (colored)

Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 5 20:51:05 1998 UTC (25 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (colored)

Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 9 00:58:56 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.6: +306 -307 lines
Diff to previous 1.6 (colored)

KNF.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 1 02:25:28 1998 UTC (26 years ago) by fvdl
Branch: MAIN
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)

Merge with Lite2 + local changes

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 10 14:12:07 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.4: +3 -3 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], Sat Feb 7 11:08:17 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

restore rcsids

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 02:18:27 1998 UTC (26 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.2: +5 -7 lines
Diff to previous 1.2 (colored)

rearrange a bit for clarity.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 6 22:31:41 1998 UTC (26 years, 1 month 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:10 1998 UTC (26 years, 1 month 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:10 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>