CVS log for src/sys/uvm/uvm_vnode.c
Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:28:09 2026 UTC (11 days, 9 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +5 -4
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Aug 23 22:08:41 2026 UTC (2 months, 3 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -3
lines
uvm: Fix missed wakeups and reduce lock contention a little bit.
This addresses two problems under heavy load:
(a) uvm_wait would sometimes miss wakeups, causing various processes
system to hang but then recover from `call wakeup(uvmexp+0x10)'
in ddb:
PR kern/58964: uvm: missing wakeup on uvmexp.free
(b) Contention on uvmpd_lock would lead to so much time spent at
IPL_SOFTBIO softint context in uvm_pageout_done spinning for
uvmpd_lock that it would trip heartbeat panics:
PR kern/60029: panic: cpu0: softints stuck for 16 seconds
There are three intertwined parts to this, which I tried to split
into separate commits, but I eventually decided it wasn't worth the
trouble:
1. New ticket idiom for uvm_wait is needed to avoid missing a wakeup
in the face of multiprocessing or kernel preemption:
top: ticket = uvm_wait_prepare();
pg = uvm_pagealloc(...);
if (pg == NULL) {
uvm_wait("foo", ticket);
goto top;
}
Without this, a wakeup by the page daemon that arrives after
uvm_pagealloc has failed and before we have called uvm_wait will
be lost, so we might hang indefinitely.
Internally, the ticket is a 64-bit generation number, so it can't
possibly overflow, that is advanced on any wakeup(&uvmexp.free).
For LP32 platforms, we manage it with a seqlock/Lamport-type
algorithm, so that reading it is cheap and unlocked.
This may also help reduce contention on uvmpd_lock under heavy
paging load by having uvm_wait skip the lock if there has been
concurrent paging since uvm_wait_prepare.
2. Split uvmpd_lock into three different locks for different
purposes:
- uvmpd_kick_lock to coordinate threads or interrupt handlers
wanting the page daemon to work with the page daemon wanting to
sleep (poor beast, woken by any thread or interrupt handler,
hence IPL_VM),
- uvmpd_waiter_lock to coordinate the page daemon thread or paging
completion soft interrupt handler threads waiting for memory to
be freed up (thread/softint, hence IPL_SOFTBIO), and
- uvmpd_pool_drain_lock to coordinate the page daemon thread with
the pool drain thread (thread-to-thread, hence IPL_NONE).
This way, anyone trying to kick the page daemon, and the page
daemon's internal coordination with the pool drainer, won't incur
any contention on the same lock that uvm_pageout_done is trying to
take on paging completion to notify threads that they can try
allocation again.
3. Use Dekker-synchronized atomic_swap fast paths to reduce time
spent spinning on these locks when they are under contention.
This way, if multiple callers (such as uvm_pageout_done and a
thread trying to allocate memory) want to wake the page daemon,
only one of them needs to take the lock most of the time.
And if there's a lot of pageout activity because many threads want
to allocate memory, uvm_pageout_done need only take the lock once
to trigger a wakeup until the threads that have been waiting have
noticed it.
Additionally, move one call to uvm_availmem out from under any locks,
to match the other calls to it -- this should help reduce the time
anyone spends holding the locks, and thus the time everyone else
spends waiting for it.
Empirically, this seems to enable a heavily loaded bulk build to
complete when before the softbio completions would starve softclk
leading to heartbeat panics. Even without the heartbeat panics, we
measured over 8sec running time for softint_dispatch for softbio, and
extremely heavy contention on uvmpd_lock in uvm_pageout_done and
uvm_wait.
This isn't really a solution to the contention, however -- it just
mitigates the contention. To scale to more CPUs in parallel, we'll
probably need to devise a per-CPU or per-NUMA-cluster page daemon
system, with each parallel daemon splitting up the work in some
reasonable way that doesn't add more contention.
Note: Before, all access to uvm_pagedaemon_waiters was serialized by
uvmpd_lock. Now, all _writes_ are serialized by uvmpd_lock, but
_reads_ are allowed unlocked. So the writes have to be issued with
atomic_store_*, but there is no need for atomic_r/m/w_*; hence we can
increment it with
atomic_store_relaxed(&uvm_pagedaemon_waiters,
atomic_load_relaxed(&uvm_pagedaemon_waiters) + 1);
rather than needing the often costlier
atomic_inc_uint(&uvm_pagedaemon_waiters);
Revision 1.122: download - view: text, markup, annotated - select for diffs
Tue Jul 21 14:37:53 2026 UTC (3 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -3
lines
<sys/disklabel.h> is not needed here.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Apr 5 13:05:41 2024 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11
Branch point for: perseant-exfatfs
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +23 -7
lines
uvm: Expand v_size <= v_writesize assertions to help diagnostics.
PR kern/58117
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Apr 9 12:37:12 2023 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -4
lines
uvm: Simplify assertion in uvn_get.
No functional change intended.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Apr 9 09:00:56 2023 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +6 -4
lines
uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B)
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:03 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +5 -5
lines
Sync with HEAD.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Mar 13 15:29:55 2021 UTC (5 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,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -5
lines
Consistently use %#jx instead of 0x%jx or just %jx in UVMHIST_LOG formats
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Aug 16 00:24:41 2020 UTC (6 years, 3 months ago) by chs
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -4
lines
in uvm_findpage(), when uvm_page_array_fill_and_peek() returns a page
that is not the one we want and we make an assertion about dirtiness,
check the dirty status of the page we wanted rather than the page we got.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Aug 14 09:06:15 2020 UTC (6 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -14
lines
centralize calls from UVM to radixtree into a few functions.
in those functions, assert that the object lock is held in
the correct mode.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jul 9 05:57:15 2020 UTC (6 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +7 -8
lines
Consistently use UVMHIST(__func__)
Convert UVMHIST_{CALLED,LOG} into UVMHIST_CALLARGS
Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon May 25 21:15:10 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +21 -21
lines
- Alter the convention for uvm_page_array slightly, so the basic search
parameters can't change part way through a search: move the "uobj" and
"flags" arguments over to uvm_page_array_init() and store those with the
array.
- With that, detect when it's not possible to find any more pages in the
tree with the given search parameters, and avoid repeated tree lookups if
the caller loops over uvm_page_array_fill_and_peek().
Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue May 19 22:22:15 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -4
lines
PR kern/32166: pgo_get protocol is ambiguous
Also problems with tmpfs+nfs noted by hannken@.
Don't pass PGO_ALLPAGES to pgo_get, and ignore PGO_DONTCARE in the
!PGO_LOCKED case. In uao_get() have uvm_pagealloc() take care of page
zeroing and release busy pages on error.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue May 19 21:45:57 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
Don't try to do readahead on tmpfs.
Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:05 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +179 -49
lines
Merge changes from current as of 20200406
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Mar 22 18:32:42 2020 UTC (6 years, 7 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +15 -5
lines
Process concurrent page faults on individual uvm_objects / vm_amaps in
parallel, where the relevant pages are already in-core. Proposed on
tech-kern.
Temporarily disabled on MP architectures with __HAVE_UNLOCKED_PMAP until
adjustments are made to their pmaps.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Mar 14 20:45:23 2020 UTC (6 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +27 -18
lines
Make uvm_pagemarkdirty() responsible for putting vnodes onto the syncer
work list. Proposed on tech-kern@.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Mar 14 20:23:51 2020 UTC (6 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -5
lines
Make page waits (WANTED vs BUSY) interlocked by pg->interlock. Gets RW
locks out of the equation for sleep/wakeup, and allows observing+waiting
for busy pages when holding only a read lock. Proposed on tech-kern.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:32:44 2020 UTC (6 years, 8 months ago) by rjs
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -4
lines
Make some wait channel names unique to six characters.
Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:12 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.1: +59 -17
lines
Sync with head.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Feb 27 22:12:54 2020 UTC (6 years, 8 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +13 -4
lines
Tighten up the locking around vp->v_iflag a little more after the recent
split of vmobjlock & v_interlock.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:43 2020 UTC (6 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +48 -15
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.104.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:38 2020 UTC (6 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +92 -21
lines
Sync with head.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Jan 15 17:55:45 2020 UTC (6 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +92 -21
lines
Merge from yamt-pagecache (after much testing):
- Reduce unnecessary page scan in putpages esp. when an object has a ton of
pages cached but only a few of them are dirty.
- Reduce the number of pmap operations by tracking page dirtiness more
precisely in uvm layer.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Dec 21 14:41:44 2019 UTC (6 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -5
lines
- Rename VM_PGCOLOR_BUCKET() to VM_PGCOLOR(). I want to reuse "bucket" for
something else soon and TBH it matches what this macro does better.
- Add inlines to set/get locator values in the unused lower bits of
pg->phys_addr. Begin by using it to cache the freelist index, because
computing it is expensive and that shows up during profiling. Discussed
on tech-kern.
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:22 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +24 -16
lines
update from HEAD
Revision 1.102.10.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:53 2017 UTC (9 years 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.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +14 -12
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.103: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:13 2017 UTC (9 years 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-5-RELEASE,
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.102: preferred, colored
Changes since revision 1.102: +14 -12
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.99.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:19 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.99.16.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.16.1: +10 -6
lines
Sync with HEAD (as of 26th Dec)
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Dec 6 09:38:54 2015 UTC (10 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
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,
netbsd-8-base,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3
lines
Fix typo in comment.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Dec 6 08:53:22 2015 UTC (10 years, 11 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +10 -6
lines
Clean up assertions and catch integer overflow.
Revision 1.99.16.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:17 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -2
lines
Sync with HEAD
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:50:32 2015 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -2
lines
to garnish, dust with _KERNEL_OPT
Revision 1.97.2.9: download - view: text, markup, annotated - select for diffs
Fri Nov 2 08:26:33 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.97.2.8: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.8: +18 -3
lines
uvn_findpage: fix dense case. add comments.
Revision 1.97.2.8: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:23:03 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.7: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.7: +8 -3
lines
sync with head
Revision 1.97.2.7: download - view: text, markup, annotated - select for diffs
Wed Aug 1 22:34:14 2012 UTC (14 years, 3 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.6: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.6: +1 -1
lines
- fix integrity sync.
putpages for integrity sync (fsync, msync with MS_SYNC, etc) should not
skip pages being written back by other threads.
- adapt to radix tree tag api changes.
Revision 1.97.2.6: download - view: text, markup, annotated - select for diffs
Wed Aug 1 21:12:23 2012 UTC (14 years, 3 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.5: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.5: +1 -1
lines
fix a typo in a comment.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Jul 30 23:56:48 2012 UTC (14 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
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-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
nick-nhusb
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -2
lines
-fno-common broke kernhist since it used commons.
Add a KERNHIST_DEFINE which is define the kernel history.
Change UVM to deal with the new usage.
Revision 1.97.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 11 21:25:02 2012 UTC (14 years, 5 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +4 -3
lines
Pull up following revision(s) (requested by martin in ticket #301):
sys/uvm/uvm_vnode.c: revision 1.98
tests/lib/libc/sys/t_mmap.c: revision 1.3
tests/lib/libc/sys/t_mmap.c: revision 1.4
tests/lib/libc/sys/t_mmap.c: revision 1.5
tests/lib/libc/sys/t_mmap.c: revision 1.6
Only use generic readahead on VREG vnodes, the space used to store the
context is not valid on other types.
Prevents the crash reported in PR kern/38889, but does not fix the
mmap of block devices, more work is needed (no size on VBLK vnodes).
Do not skip the block device mmap test, as it does not crash
the kernel any more. Mark it as expected failure instead.
mmap_block:
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
Use atf_tc_skip().
A test case for serious PR kern/38889: crash on open/mmap/close of block
device. The test case is skipped for the time being as it replicates the
panic described in the PR (tested on NetBSD/amd64 6.0 BETA).
Revision 1.97.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:42 2012 UTC (14 years, 5 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +4 -3
lines
sync to latest -current.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jun 1 14:52:48 2012 UTC (14 years, 5 months ago) by martin
Branches: MAIN
CVS tags: jmcneill-usbmp-base10
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -3
lines
Only use generic readahead on VREG vnodes, the space used to store the
context is not valid on other types.
Prevents the crash reported in PR kern/38889, but does not fix the
mmap of block devices, more work is needed (no size on VBLK vnodes).
Revision 1.90.28.4: download - view: text, markup, annotated - select for diffs
Wed Feb 29 18:03:40 2012 UTC (14 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.90.28.3: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.28.3: +3 -3
lines
Improve UVM_PAGE_TRKOWN.
Add more asserts to uvm_page.
Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 17 08:18:57 2012 UTC (14 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.4: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.4: +5 -5
lines
byebye PG_HOLE as it turned out to be unnecessary.
Revision 1.97.2.4: download - view: text, markup, annotated - select for diffs
Wed Jan 18 02:09:06 2012 UTC (14 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.3: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.3: +29 -10
lines
- bug fixes
- minor optimizations
- assertions
- comments
Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Tue Dec 20 13:46:17 2011 UTC (14 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.2: +32 -11
lines
don't inline uvn_findpages in genfs_io.
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 26 15:19:06 2011 UTC (14 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.1: +41 -9
lines
- uvm_page_array_fill: add some more parameters
- uvn_findpages: use gang-lookup
- genfs_putpages: re-enable backward clustering
- mechanical changes after the recent radixtree.h api changes
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 21:54:01 2011 UTC (15 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -8
lines
page cache related changes
- maintain object pages in radix tree rather than rb tree.
- reduce unnecessary page scan in putpages. esp. when an object has a ton of
pages cached but only a few of them are dirty.
- reduce the number of pmap operations by tracking page dirtiness more
precisely in uvm layer.
- fix nfs commit range tracking.
- fix nfs write clustering. XXX hack
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Sep 6 16:41:55 2011 UTC (15 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
netbsd-6,
jmcneill-usbmp
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +10 -6
lines
Allocate color appropriate pages.
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:37 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +15 -13
lines
Catchup with rmind-uvmplock merge.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:36:04 2011 UTC (15 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +15 -13
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.93.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:24 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +3 -10
lines
Sync with HEAD.
Revision 1.90.28.3: download - view: text, markup, annotated - select for diffs
Fri Jun 3 07:52:48 2011 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.90.28.2: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.28.2: +2 -2
lines
Restore $NetBSD$
Revision 1.90.28.2: download - view: text, markup, annotated - select for diffs
Fri Jun 3 02:43:42 2011 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.90.28.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.28.1: +6 -3
lines
Rework page free lists to be sorted by color first rather than free_list.
Kept per color PGFL_* counter in each page free list.
Minor cleanups.
Revision 1.93.4.4: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:15 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.93.4.3: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.4.3: +0 -2
lines
sync with head
Revision 1.90.28.1: download - view: text, markup, annotated - select for diffs
Wed May 25 23:58:50 2011 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -3
lines
Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the
'align' argument specifies the starting color of the KVA range to be returned.
When calling uvm_km_alloc with UVM_KMF_VAONLY, also specify the starting
color of the kva range returned (UMV_KMF_COLORMATCH) and pass those to
uvm_map.
In uvm_pglistalloc, make sure the pages being returned have sequentially
advancing colors (so they can be mapped in a contiguous address range).
Add a few missing UVM_FLAG_COLORMATCH flags to uvm_pagealloc calls.
Make the socket and pipe loan color-safe.
Make the mips pmap enforce strict page color (color(VA) == color(PA)).
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Apr 23 18:14:13 2011 UTC (15 years, 6 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.94: preferred, colored
Changes since revision 1.94: +2 -4
lines
Replace "malloc" in comments, remove unnecessary header inclusions.
Revision 1.93.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:38 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.93.4.2: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.4.2: +3 -8
lines
sync with head
Revision 1.93.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:08 2011 UTC (15 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +3 -8
lines
Sync with HEAD
Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Feb 2 20:07:25 2011 UTC (15 years, 9 months ago) by chuck
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -8
lines
udpate license clauses on my code to match the new-style BSD licenses.
verified with Mike Hibler it is ok to remove clause 3 on utah copyright,
as per UCB.
based on diff that rmind@ sent me.
no functional change with this commit.
Revision 1.93.2.6: download - view: text, markup, annotated - select for diffs
Sun Nov 21 12:02:06 2010 UTC (15 years, 11 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.5: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.5: +5 -0
lines
uvm_findpage_xip: A few UVMHIST logs.
Revision 1.93.2.5: download - view: text, markup, annotated - select for diffs
Sat Nov 20 08:00:53 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.4: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.4: +2 -0
lines
uvn_findpage_xip: This is responsible to return a page with marked
as "busy".
Revision 1.93.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 18 16:16:36 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.3: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.3: +37 -2
lines
Make XIP pager use cdev_mmap() instead of struct vm_physseg.
Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 16 07:44:25 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.2: +36 -0
lines
Factor out the part which lookups physical page "identity" from
UVM object, into sys/uvm/uvm_vnode.c:uvn_findpage_xip(). Eventually
this will become a call to cdev UVM object pager.
Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 14:21:23 2010 UTC (16 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +2 -1
lines
Actually make this build with options XIP.
Revision 1.93.4.2: download - view: text, markup, annotated - select for diffs
Wed Mar 17 06:03:19 2010 UTC (16 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.93.4.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.4.1: +4 -2
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.93.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:19 2010 UTC (16 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +13 -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.90.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:48 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.90.10.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.10.1: +3 -3
lines
sync with head
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Thu Feb 11 06:26:47 2010 UTC (16 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +9 -2
lines
uvn_get: For XIP vnodes, skip read-ahead, because it's pointless.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Jan 8 11:35:12 2010 UTC (16 years, 10 months ago) by pooka
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.92: preferred, colored
Changes since revision 1.92: +3 -3
lines
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase). Plenty of mix'n match upper/lowercase has creeped
into the tree since then. Nuke the macros and convert all callsites
to lowercase.
no functional change
Revision 1.90.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:36 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -32
lines
sync with head.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Aug 4 23:31:57 2009 UTC (17 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -30
lines
uvm_vnp_zerorange() logically and by implementation more a part of
ubc than uvm_vnode, so move it over.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Aug 4 23:03:01 2009 UTC (17 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -4
lines
kernel opt polish: g/c unnecessary fs_nfs.h and opt_ddb.h
Revision 1.87.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:33 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.87.4.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.4.1: +14 -16
lines
Sync with HEAD.
Revision 1.66.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:26 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.6: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.6: +14 -16
lines
sync with head
Revision 1.85.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:45 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.85.2.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.1: +19 -23
lines
sync with HEAD
Revision 1.89.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:47 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +12 -14
lines
Sync with HEAD
Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:21 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-base,
nick-net80211-sync,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
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,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
matt-nb5-mips64
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +14 -16
lines
Merge vmlocking2 to head.
Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 18 15:24:32 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +4 -8
lines
Lock readahead context using the associated object's lock.
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:47 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +7 -9
lines
Sync with HEAD.
Revision 1.66.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:35:29 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.5: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.5: +7 -9
lines
sync with head
Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:04:07 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +18 -16
lines
Pull the vmlocking changes into a new branch.
Revision 1.84.4.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:15:26 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84.4.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.4.2: +7 -9
lines
Sync with HEAD.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 1 10:40:28 2007 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -1
lines
constify pagerops.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Dec 1 10:18:21 2007 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -8
lines
use designated initiaizers for uvm_pagerops.
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:35:33 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -8
lines
sync with HEAD
Revision 1.66.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:56 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.4: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.4: +6 -8
lines
sync with head.
Revision 1.84.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:44 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84.4.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.4.1: +6 -8
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:49:26 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +6 -8
lines
sync with head.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Oct 11 19:53:43 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -5
lines
Remove LOCK_ASSERT(!simple_lock_held(&foo));
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:41 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -5
lines
Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
Revision 1.81.2.10: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:28 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.9: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.9: +11 -10
lines
Sync with head.
Revision 1.66.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:47:13 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.3: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.3: +26 -124
lines
sync with head.
Revision 1.81.2.9: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:34 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.8: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.8: +3 -109
lines
Sync with HEAD.
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:51:24 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +12 -123
lines
Sync with HEAD.
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 4 12:33:17 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -11
lines
Sync with HEAD.
Revision 1.85.6.2: download - view: text, markup, annotated - select for diffs
Sat Aug 4 09:42:59 2007 UTC (19 years, 3 months ago) by pooka
Branches: matt-mips64
Diff to: previous 1.85.6.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.6.1: +434 -0
lines
Use VSIZENOTSET only in KASSERTs
Revision 1.85.6.1
Sat Aug 4 09:42:58 2007 UTC (19 years, 3 months ago) by pooka
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.85: +0 -434
lines
file uvm_vnode.c was added on branch matt-mips64 on 2007-08-04 09:42:59 +0000
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Aug 4 09:42:58 2007 UTC (19 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -11
lines
Use VSIZENOTSET only in KASSERTs
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jul 22 19:16:06 2007 UTC (19 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -114
lines
Retire uvn_attach() - it abuses VXLOCK and its functionality,
setting vnode sizes, is handled elsewhere: file system vnode creation
or spec_open() for regular files or block special files, respectively.
Add a call to VOP_MMAP() to the pagedvn exec path, since the vnode
is being memory mapped.
reviewed by tech-kern & wrstuden
Revision 1.81.2.8: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:53:08 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.7: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.7: +3 -3
lines
Sync with head.
Revision 1.81.2.7: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:28:22 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.6: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.6: +4 -10
lines
Sync with head.
Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:58 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +28 -15
lines
Sync with head.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:11:37 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -12
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.81.2.6: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:32:23 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.5: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.5: +9 -9
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.81.2.5: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:58:21 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.4: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.4: +25 -5
lines
Sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Jun 5 12:31:36 2007 UTC (19 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +25 -5
lines
improve post-ubc file overwrite performance in common cases.
ie. when it's safe, actually overwrite blocks rather than doing
read-modify-write.
also fixes PR/33152 and PR/36303.
Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 13 20:56:19 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.3: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.3: +3 -4
lines
- Make the devsw interface MP safe, and add some comments.
- Allow individual block/character drivers to be marked MP safe.
- Provide wrappers around the device methods that look up the
device, returning ENXIO if it's not found, and acquire the
kernel lock if needed.
Revision 1.81.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 13 15:49:51 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.2: +5 -12
lines
- Fix a (new) bug where vget tries to acquire freed vnodes' interlocks.
- Minor locking fixes.
Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 21 20:09:39 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.1: +2 -7
lines
Acquire the kernel lock in the VOP_* wrappers and the socket ops.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:58 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +28 -22
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:01:13 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.78.2.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.1: +3 -3
lines
Sync with HEAD.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:49 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:55:30 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +7 -7
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:33 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.2: +7 -7
lines
sync with head.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:05:02 2007 UTC (19 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
TRUE -> true, FALSE -> false
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:15 2007 UTC (19 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -6
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 17 23:27:53 2007 UTC (19 years, 9 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +6 -2
lines
Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.
Revision 1.72.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:25 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.72.4.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.4.1: +6 -2
lines
Sync with head.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:51:06 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.1: +37 -35
lines
sync with head.
Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:34 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.1: +7 -3
lines
sync with head.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Dec 9 16:11:52 2006 UTC (19 years, 11 months ago) by chs
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +6 -2
lines
a smorgasbord of improvements to vnode locking and path lookup:
- LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
these now always return the parent vnode locked. namei() works as before.
lookup() and various other paths no longer acquire vnode locks in the
wrong order via vrele(). fixes PR 32535.
as a nice side effect, path lookup is also up to 25% faster.
- the above allows us to get rid of PDIRUNLOCK.
- also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
- remove an assumption in layer_node_find() that all file systems implement
a recursive VOP_LOCK() (unionfs doesn't).
- require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
fill in eopnotsupp() for file systems that don't support being exported
and remove the checks for NULL. (layerfs calls these without checking.)
- in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
adjust which vnode is locked. fixes PR 33374.
- apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:50 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +30 -34
lines
Sync with head.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Nov 1 10:18:27 2006 UTC (20 years ago) by yamt
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -1
lines
remove some __unused from function parameters.
Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:54 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +31 -6
lines
sync with head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Oct 14 09:20:35 2006 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
uvm_vnp_setsize: put back v_size assignment after uvn_put.
PR/34147 from Juergen Hannken-Illjes.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Oct 12 10:14:20 2006 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +27 -2
lines
move some knowledge about vnode into uvm_vnode.c.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:54 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Sep 15 15:51:13 2006 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -31
lines
merge yamt-pdpolicy branch.
- separate page replacement policy from the rest of kernel
- implement an alternative replacement policy
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 03:00:13 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +7 -5
lines
sync with head
Revision 1.69.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:46 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.69.8.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.8.2: +7 -5
lines
sync with head
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Jul 22 08:47:56 2006 UTC (20 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -4
lines
- in genfs_getpages, take g_glock earlier so that it can't be
intervened by truncation.
it also fixes a deadlock. (g_glock vs pages locking order)
- uvm_vnp_setsize: modify v_size while holding v_interlock.
reviewed by Chuck Silvers.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:54 2006 UTC (20 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:40 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +47 -5
lines
sync with head.
Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:45 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
Sync with head.
Revision 1.69.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:49 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.69.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:30 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.69.8.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.8.1: +3 -3
lines
sync with head.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun May 14 21:38:18 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
integrate kauth.
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 12 09:38:56 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -31
lines
- change the way to account read-ahead stats.
- fix UVM_PQFLAGBITS.
Revision 1.69.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:31:57 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
Adapt to kernel authorization changes.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:29 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4
lines
merge ktrace-lwp.
Revision 1.62.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:42 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.62.2.6: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.6: +45 -3
lines
Sync with head.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Nov 29 22:52:03 2005 UTC (20 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -1
lines
merge yamt-readahead branch.
Revision 1.66.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:34 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.1: +32 -2
lines
sync with head.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Nov 29 15:45:28 2005 UTC (20 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +33 -2
lines
read-ahead statistics.
Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 17:37:00 2005 UTC (21 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +15 -3
lines
- as read-ahead context is per-vnode now,
there are less reasons to make VOP_READ call uvm_ra_request explicitly.
move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.
XXX can be disturbed by PGO_LOCKED.
XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)
Revision 1.62.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:40 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.5: preferred, colored
Changes since revision 1.62.2.5: +28 -51
lines
Sync with HEAD. Here we go again...
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:29:32 2005 UTC (21 years, 4 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-base2,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead,
yamt-lazymbuf
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +14 -13
lines
Sprinkle some static.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:19:48 2005 UTC (21 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +16 -40
lines
Use ANSI function decls.
Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:33:11 2005 UTC (21 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.4: preferred, colored
Changes since revision 1.62.2.4: +19 -17
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jan 9 16:42:44 2005 UTC (21 years, 10 months ago) by chs
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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +19 -17
lines
adjust the UBC mapping code to support non-vnode uvm_objects.
this means we can no longer look at the vnode size to determine how many
pages to request in a fault, which is good since for NFS the size can change
out from under us on the server anyway. there's also a new flag UBC_UNMAP
for ubc_release(), so that the file system code can make the decision about
whether to cache mappings for files being used as executables.
Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:31 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.3: preferred, colored
Changes since revision 1.62.2.3: +4 -4
lines
Fix the sync with head I botched.
Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:57:12 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.2: preferred, colored
Changes since revision 1.62.2.2: +4 -4
lines
Sync with HEAD.
Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:57:09 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.1: preferred, colored
Changes since revision 1.62.2.1: +8 -8
lines
Sync with HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Mar 24 07:55:01 2004 UTC (22 years, 7 months ago) by junyoung
Branches: MAIN
CVS tags: 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-audio1-base,
kent-audio1
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -8
lines
Nuke __P().
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:30 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:52 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:30 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Apr 22 14:28:16 2003 UTC (23 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -7
lines
correct accounting of {exec,file}pages.
they are not updated correctly when breaking loan.
Revision 1.50.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:45:11 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.50.2.3: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.3: +18 -8
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.46.2.13: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:24:12 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.46.2.12: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.12: +18 -8
lines
Catch up to -current.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +18 -8
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.46.2.12: download - view: text, markup, annotated - select for diffs
Tue Jul 16 14:07:43 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.11: preferred, colored
Changes since revision 1.46.2.11: +4 -5
lines
Whitespace.
Revision 1.46.2.11: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:46 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.10: preferred, colored
Changes since revision 1.46.2.10: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.46.2.10: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:13:01 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.9: preferred, colored
Changes since revision 1.46.2.9: +6 -6
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:20 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.50.2.2: preferred, colored
Changes since revision 1.50.2.2: +18 -11
lines
catch up with -current on kqueue branch
Revision 1.46.2.9: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:50:47 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.8: preferred, colored
Changes since revision 1.46.2.8: +18 -11
lines
Catch up to -current.
Revision 1.57.8.2: download - view: text, markup, annotated - select for diffs
Thu May 30 13:52:45 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
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: +18 -11
lines
Catch up with -current.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri May 17 22:00:50 2002 UTC (24 years, 6 months ago) by enami
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
gehenna-devsw-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +18 -11
lines
Make uvn_findpages to return number of pages found so that caller can
easily check if all requested pages are found or not.
Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 03:45:49 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +18 -8
lines
Replace the direct-access to devsw table with calling devsw APIs.
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:49 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.50.2.1: preferred, colored
Changes since revision 1.50.2.1: +103 -637
lines
Sync kqueue branch with -current.
Revision 1.46.2.8: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:35:08 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.7: preferred, colored
Changes since revision 1.46.2.7: +5 -5
lines
Catch up to -current.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Dec 31 07:00:15 2001 UTC (24 years, 10 months ago) by chs
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3
lines
in uvm_vnp_setsize(), wait for any i/o in progress on pages that we free.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Dec 9 03:07:44 2001 UTC (24 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4
lines
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 15 23:09:22 2001 UTC (25 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +2 -2
lines
Apply patch (requested by chs):
Make sure to initialize uio_procp in uvn_io(). Fixes kernel
crash problem, reported in PR#14185.
Revision 1.46.2.7: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:19:10 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.6: preferred, colored
Changes since revision 1.46.2.6: +8 -5
lines
Catch up to -current.
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:58 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +8 -5
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 10 07:37:01 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -5
lines
add RCSIDs, and in some cases, slightly cleanup #include order
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:48 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +94 -631
lines
Catch up with -current.
Revision 1.46.2.6: download - view: text, markup, annotated - select for diffs
Wed Sep 26 19:55:16 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.5: preferred, colored
Changes since revision 1.46.2.5: +8 -6
lines
Catch up to -current.
Again.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Sep 26 07:23:51 2001 UTC (25 years, 1 month ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -5
lines
change the names of the arguments to uvn_put() to match their usage.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Sep 22 22:33:16 2001 UTC (25 years, 1 month ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -2
lines
VOP_PUTPAGES must release the uobj's lock for us, so ensure it's locked
beforehand and unlocked afterwards using LOCK_ASSERT().
Revision 1.46.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:37:18 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.4: preferred, colored
Changes since revision 1.46.2.4: +91 -630
lines
Catch up to -current.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:47 2001 UTC (25 years, 2 months ago) by chs
Branches: MAIN
CVS tags: post-chs-ubcperf
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +91 -630
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.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:46 2001 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2
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.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:17:23 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -7
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:45 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.3: preferred, colored
Changes since revision 1.46.2.3: +2 -7
lines
Catch up with -current.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Aug 17 05:53:02 2001 UTC (25 years, 3 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -7
lines
allow mappings of VBLK vnodes.
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:10:51 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.2: preferred, colored
Changes since revision 1.46.2.2: +30 -29
lines
Catch up to -current.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat May 26 21:27:21 2001 UTC (25 years, 5 months ago) by chs
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -5
lines
replace vm_page_t with struct vm_page *.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri May 25 04:06:18 2001 UTC (25 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +25 -25
lines
remove trailing whitespace.
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:59:24 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46.2.1: preferred, colored
Changes since revision 1.46.2.1: +24 -52
lines
Catch up with -current.
Revision 1.26.2.8: download - view: text, markup, annotated - select for diffs
Fri Mar 23 11:38:28 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.7: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.7: +1 -25
lines
Make sure files that shouldn't change are identical to HEAD.
Revision 1.26.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:15 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.6: preferred, colored
Changes since revision 1.26.2.6: +39 -46
lines
Sync with HEAD.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Mar 10 22:46:51 2001 UTC (25 years, 8 months ago) by chs
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -43
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.47: download - view: text, markup, annotated - select for diffs
Fri Mar 9 01:02:13 2001 UTC (25 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -10
lines
add UBC memory-usage balancing. we track the number of pages in use for
each of the basic types (anonymous data, executable image, cached files)
and prevent the pagedaemon from reusing a given page if that would reduce
the count of that type of page below a sysctl-setable minimum threshold.
the thresholds are controlled via three new sysctl tunables:
vm.anonmin, vm.vnodemin, and vm.vtextmin. these tunables are the
percentages of pageable memory reserved for each usage, and we do not allow
the sum of the minimums to be more than 95% so that there's always some
memory that can be reused.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:12 2001 UTC (25 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -3
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Feb 22 01:02:09 2001 UTC (25 years, 8 months ago) by enami
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -3
lines
When shrinking file size, don't dispose of a page still in use.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Feb 18 19:40:25 2001 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -17
lines
in uvn_flush(), add a fast path for the case where the vnode has no pages.
update the comment above this function while I'm here.
Revision 1.26.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:51 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.5: preferred, colored
Changes since revision 1.26.2.5: +10 -12
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Feb 8 06:43:05 2001 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -8
lines
remove a debug printf() that has outlived its usefulness.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Feb 6 10:53:23 2001 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -2
lines
in uvn_flush(), interpret a "stop" value of 0 as meaning all pages at
offsets equal to or higher than "start". use this in uvm_vnp_setsize()
instead of the vnode's size since there can be pages past EOF.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jan 28 23:30:47 2001 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -4
lines
Page scanner improvements, behavior is actually a bit more like
Mach VM's now. Specific changes:
- Pages now need not have all of their mappings removed before being
put on the inactive list. They only need to have the "referenced"
attribute cleared. This makes putting pages onto the inactive list
much more efficient. In order to eliminate redundant clearings of
"refrenced", callers of uvm_pagedeactivate() must now do this
themselves.
- When checking the "modified" attribute for a page (for clearing
PG_CLEAN), make sure to only do it if PG_CLEAN is currently set on
the page (saves a potentially expensive pmap operation).
- When scanning the inactive list, if a page is referenced, reactivate
it (this part was actually added in uvm_pdaemon.c,v 1.27). This
now works properly now that pages on the inactive list are allowed to
have mappings.
- When scanning the inactive list and considering a page for freeing,
remove all mappings, and then check the "modified" attribute if the
page is marked PG_CLEAN.
- When scanning the active list, if the page was referenced since its
last sweep by the scanner, don't deactivate it. (This part was
actually added in uvm_pdaemon.c,v 1.28.)
These changes greatly improve interactive performance during
moderate to high memory and I/O load.
Revision 1.26.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:24:07 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.4: preferred, colored
Changes since revision 1.26.2.4: +9 -9
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jan 8 06:21:13 2001 UTC (25 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +10 -10
lines
in uvn_flush(), when PGO_SYNCIO is specified then we should wait for
pending i/os to complete before returning even if PGO_CLEANIT is not
specified. this fixes two races:
(1) NFS write rpcs vs. setattr operations which truncate the file.
if the truncate doesn't wait for pending writes to complete then
a later write rpc completion can undo the effect of the truncate.
this problem has been reported by several people.
(2) write i/os in disk-based filesystem vs. the disk block being
freed by a truncation, allocated to a new file, and written
again with different data. if the disk driver reorders the requests
and does the second i/o first, the old data will clobber the new,
corrupting the new file. I haven't heard of anyone experiencing
this problem yet, but it's fixed now anyway.
Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:37:04 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.3: preferred, colored
Changes since revision 1.26.2.3: +2 -0
lines
Sync with HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Dec 16 06:17:09 2000 UTC (25 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1
lines
in uvn_flush(), don't deactivate busy pages.
Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:21:06 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.2: preferred, colored
Changes since revision 1.26.2.2: +290 -1280
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Dec 6 03:37:30 2000 UTC (25 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
in uvn_findpage(), only increment the counter of vnode pages
if we succeed in allocating a page.
from Lars Heidieker <lars@heidieker.de> in PR 11636.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 30 11:04:44 2000 UTC (25 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -5
lines
Move uvm_pgcnt_vnode and uvm_pgcnt_anon into uvmexp (as vnodepages and
anonpages), and add vtextpages which is currently unused but will be
used to trace the number of pages used by vtext vnodes.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Nov 27 08:40:06 2000 UTC (25 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +294 -1256
lines
Initial integration of the Unified Buffer Cache project.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 24 20:34:01 2000 UTC (25 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -27
lines
g/c unused pager ops "asyncget" and "aiodone".
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:12:08 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.1: preferred, colored
Changes since revision 1.26.2.1: +42 -62
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:29:37 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:19 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +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.33: download - view: text, markup, annotated - select for diffs
Fri May 19 03:45:05 2000 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -7
lines
Tell uvm_pagermapin() the direction of the I/O so that it can map
with only the protection that it needs.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 3 07:35:24 2000 UTC (26 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2
lines
remove the "shareprot" pagerop. it's not needed anymore since
share maps are long gone.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Mar 27 16:58:23 2000 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -2
lines
Kill duplicate uvn_attach() prototype (public, already in uvm_vnode.h).
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:54:47 2000 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +33 -47
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.29: download - view: text, markup, annotated - select for diffs
Mon Mar 13 23:52:42 2000 UTC (26 years, 8 months ago) by soren
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Fix doubled 'the's in comments.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 31 20:36:12 2000 UTC (26 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +1 -4
lines
Pull up revision 1.28 (via patch, requested by chs):
Remove a debug printf that has outlived its usefulness.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 28 08:02:48 2000 UTC (26 years, 9 months ago) by chs
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -4
lines
remove a debug printf that has outlived its usefulness.
Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:44 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +9 -8
lines
Pull up to last week's -current.
Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:42:31 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +9 -8
lines
Sync with -current
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 20 22:57:34 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -8
lines
Sync w/ trunk.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Oct 19 16:04:45 1999 UTC (27 years, 1 month ago) by chs
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -8
lines
put various debugging printfs under #ifdef DEBUG.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 12 01:17:42 1999 UTC (27 years, 2 months ago) by chs
Branches: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +11 -16
lines
eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
Revision 1.22.2.1.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 31 21:03:47 1999 UTC (27 years, 2 months ago) by perseant
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.8: preferred, colored; branchpoint 1.22.2.1: preferred, colored; next MAIN 1.22.2.2: preferred, colored
Changes since revision 1.22.2.1.2.8: +3 -5
lines
Rudimentary support for LFS under UBC:
- LFS-specific VOP_BALLOC and VOP_PUTPAGES vnode ops.
- getblk VREG panic #ifdef'd out (can be reinstated when Ifile is
internalized and Ifile can be made another type from VREG)
- interface to VOP_PUTPAGES changed to pass all pager flags, not
just sync. FS putpages routines must know about the pager flags.
- new LFS magic disk address, -2 ("unwritten"), meaning accounted for
but not assigned to a fixed disk location (since LFS does these two
things separately, and the previous accounting method using buffer
headers no longer will work). Changed references to (foo == (daddr_t)-1)
to (foo < 0). Since disk drivers reject all addresses < 0, this should
not present a problem for other FSs.
Revision 1.22.2.1.2.8: download - view: text, markup, annotated - select for diffs
Wed Aug 11 05:40:13 1999 UTC (27 years, 3 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.7: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.7: +8 -7
lines
fix uvn_flush() to work now that vnode offsets are signed.
Revision 1.22.2.1.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:05:56 1999 UTC (27 years, 3 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.6: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.6: +25 -79
lines
create a new type "voff_t" for uvm_object offsets
and define it to be "off_t". also, remove pgo_asyncget().
Revision 1.22.2.1.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 6 12:47:28 1999 UTC (27 years, 3 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.5: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.5: +4 -37
lines
clean up some leftovers.
Revision 1.22.2.1.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 2 23:39:29 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.4: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.4: +1 -7
lines
Update from trunk.
Revision 1.22.2.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 31 19:04:49 1999 UTC (27 years, 3 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.3: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.3: +5 -9
lines
in uvn_findpage(), ignore any offsets where the return page pointer
is non-NULL.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jul 22 22:58:39 1999 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
Garbage collect thread_sleep()/thread_wakeup() left over from the old
Mach VM code. Also nuke iprintf(), which was no longer used anywhere.
Add proclist locking where appropriate.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 22 21:27:32 1999 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
0 -> FALSE in a few places.
Revision 1.22.2.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 11 05:47:13 1999 UTC (27 years, 4 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.2: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.2: +24 -31
lines
remove uvm_vnp_uncache(), it's not needed anymore.
use uvm_errno2vmerror().
put uvm_vnp_zerorange() back the way it was before,
it was right the first time.
Revision 1.22.2.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 4 02:08:14 1999 UTC (27 years, 4 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1.2.1: preferred, colored; branchpoint 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1.2.1: +65 -84
lines
remove UVM_VNODE_* flags in favor of V* vnode flags.
rewrite uvm_vnp_zerorange(). it's still wrong, but it's closer.
update stuff to use buf instead of uvm_aiobuf.
uvm_vnp_asyncget() can now determine the blocksize from the vnode
rather than needing it to be passed in.
Revision 1.22.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 7 04:25:38 1999 UTC (27 years, 5 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +444 -950
lines
merge everything from chs-ubc branch.
Revision 1.17.2.8: download - view: text, markup, annotated - select for diffs
Wed Jun 2 05:02:13 1999 UTC (27 years, 5 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.7: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.7: +7 -1
lines
implement UFP_NORDONLY.
Revision 1.17.2.7: download - view: text, markup, annotated - select for diffs
Sun May 30 15:41:44 1999 UTC (27 years, 5 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.6: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.6: +163 -55
lines
add uvm_vnp_asyncget() and uvn_doasyncget() for doing readahead.
in uvm_vnp_sync(), use an async uvn_flush() again.
remove uvm_vnp_setpageblknos().
Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 30 04:29:15 1999 UTC (27 years, 6 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.5: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.5: +41 -24
lines
fix uvn_flush() to actually wait for sync i/os.
fix uvm_vnp_setpageblknos() to deal with big ranges.
fix uvm_vnp_zerorange() to not be just totally wrong.
also, use the new ubc_alloc() interface.
Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Thu Apr 29 05:36:41 1999 UTC (27 years, 6 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +17 -6
lines
temporarily make uvm_vnp_sync() use sync io.
make uvm_vnp_zerorange() deal with ranges larger than 1 ubc window.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 16 16:29:56 1999 UTC (27 years, 7 months ago) by chs
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
pull up 1.22 -> 1.23:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 11 04:04:11 1999 UTC (27 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 9 04:48:42 1999 UTC (27 years, 7 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +4 -4
lines
fix vnode reference-counting in uvm_vnp_sync().
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Mar 25 18:48:56 1999 UTC (27 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -5
lines
remove now >1 year old pre-release message.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Mar 25 00:20:35 1999 UTC (27 years, 8 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +23 -9
lines
Prevent deadlock cited in PR4629 from crashing the system. (copyout
and system call now just return EFAULT). A complete fix will
presumably have to wait for UBC and/or for vnode locking protocols to
be revamped to allow use of shared locks.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 24 03:45:28 1999 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -2
lines
after discussion with chuck, nuke pgo_attach from uvm_pagerops
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Mar 4 06:48:54 1999 UTC (27 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -4
lines
fix printf arg types.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 25 04:44:38 1999 UTC (27 years, 8 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +147 -609
lines
delete non-UBC parts of uvn_attach(), uvn_reference(), uvn_detach(),
uvm_vnp_terminate(), uvm_vnp_uncache().
add uvn_findpages(), for looking-up/allocating multiple pages.
allow async vnode pageouts.
lock the writeable list when remove vnodes from it too.
rename uvm_vnp_relocate() to uvm_vnp_setpageblknos() and expand
its functionality to optionally zero the pages.
add uvm_vnp_zerorange(), incomplete but does enough for the moment.
use LIST_* macros and SLOCK_{,UN}LOCKED.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jan 29 12:56:17 1999 UTC (27 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -3
lines
A small typo fix, + enclose "used_vnode_size = %qu" debug printf inside
#ifdef DEBUG/#endif
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 16 08:29:12 1998 UTC (28 years ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +16 -6
lines
uvn_put() now unlocks the uobj before calling VOP_PUTPAGES().
move the important line of uvm_vnp_setsize() outside the debug ifdef.
adjust other debugging code.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 9 06:06:40 1998 UTC (28 years ago) by chs
Branches: chs-ubc
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +350 -421
lines
initial snapshot. lots left to do.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 4 06:21:40 1998 UTC (28 years ago) by chs
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
we must unlock a vp's object's lock before calling vrele().
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 18 23:50:01 1998 UTC (28 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -5
lines
shift by PAGE_SHIFT instead of multiplying or dividing by PAGE_SIZE.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:11:04 1998 UTC (28 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +24 -24
lines
Merge paddr_t changes into the main branch.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:36:39 1998 UTC (28 years, 3 months ago) by perry
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:04:17 1998 UTC (28 years, 3 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +24 -24
lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jul 7 23:22:13 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +53 -14
lines
Add support for mmap'ing disk block devices.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 24 20:58:49 1998 UTC (28 years, 4 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -6
lines
Always include fifos; "not an option any more".
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 22 22:01:12 1998 UTC (28 years, 5 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
defopt for options FIFO
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 5 20:51:07 1998 UTC (28 years, 6 months ago) by kleink
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -4
lines
Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 11 01:37:40 1998 UTC (28 years, 8 months ago) by chuck
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -9
lines
bug fix: when doing uvm_vnp_sync() actually skip over blocked uvn's so
that we don't try and sync them later. should get rid of the
"uvm_vnp_sync: dying vnode on sync list" related warnings that were
occuring during a "make install."
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Mar 9 00:58:59 1998 UTC (28 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1467 -1412
lines
KNF.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:25:29 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -9
lines
Merge with Lite2 + local changes
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 19 00:55:04 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Include the NFS option header.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 18 06:35:46 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +73 -39
lines
bug fix from chuck: uvm_vnp_terminate panic when /sbin/init was unlinked
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:12:33 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 7 11:09:57 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -0
lines
restore rcsids
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 6 22:32:35 1998 UTC (28 years, 9 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:08 1998 UTC (28 years, 9 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:08 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>