Up to [cvs.netbsd.org] / src / sys / uvm
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.101.4.2.4.6 / (download) - annotate - [select for diffs], Thu Feb 9 03:04:59 2012 UTC (27 hours, 43 minutes ago) by matt
Branch: matt-nb5-mips64
Changes since 1.101.4.2.4.5: +29 -8
lines
Diff to previous 1.101.4.2.4.5 (colored) to branchpoint 1.101.4.2 (colored) next main 1.102 (colored)
Major changes to uvm. Support multiple collections (groups) of free pages and run the page reclaimation algorithm on each group independently.
Revision 1.119 / (download) - annotate - [select for diffs], Sat Feb 4 17:56:17 2012 UTC (5 days, 12 hours ago) by para
Branch: MAIN
CVS Tags: HEAD
Changes since 1.118: +14 -9
lines
Diff to previous 1.118 (colored)
improve sizing of kmem_arena now that more allocations are made from it don't enforce limits if not required ok: riz@
Revision 1.118 / (download) - annotate - [select for diffs], Fri Feb 3 19:25:07 2012 UTC (6 days, 11 hours ago) by matt
Branch: MAIN
Changes since 1.117: +36 -23
lines
Diff to previous 1.117 (colored)
Always allocate the kmem region. Add UVMHIST support. Approved by releng.
Revision 1.117 / (download) - annotate - [select for diffs], Thu Feb 2 18:59:45 2012 UTC (7 days, 11 hours ago) by para
Branch: MAIN
Changes since 1.116: +54 -4
lines
Diff to previous 1.116 (colored)
- bringing kmeminit_nkmempages back and revert pmaps that called this early - use nkmempages to scale the kmem_arena - reducing diff to pre kmem/vmem change (NKMEMPAGES_MAX_DEFAULT will need adjusting on some archs)
Revision 1.116 / (download) - annotate - [select for diffs], Wed Feb 1 23:43:49 2012 UTC (8 days, 7 hours ago) by para
Branch: MAIN
Changes since 1.115: +4 -4
lines
Diff to previous 1.115 (colored)
allocate uareas and buffers from kernel_map again add code to drain pools if kmem_arena runs out of space
Revision 1.115 / (download) - annotate - [select for diffs], Wed Feb 1 02:22:27 2012 UTC (9 days, 4 hours ago) by matt
Branch: MAIN
Changes since 1.114: +3 -3
lines
Diff to previous 1.114 (colored)
Use right UVM_xxx_COLORMATCH flag (even both use the same value).
Revision 1.114 / (download) - annotate - [select for diffs], Tue Jan 31 00:30:52 2012 UTC (10 days, 6 hours ago) by matt
Branch: MAIN
Changes since 1.113: +13 -7
lines
Diff to previous 1.113 (colored)
Deal with case when kmembase == kmemstart. Use KASSERTMSG for a few KASSERTs Make sure to match the color of the VA when we are allocating a physical page.
Revision 1.113 / (download) - annotate - [select for diffs], Sun Jan 29 12:37:01 2012 UTC (11 days, 18 hours ago) by para
Branch: MAIN
Changes since 1.112: +3 -3
lines
Diff to previous 1.112 (colored)
size kmem_arena more sanely for small memory machines
Revision 1.112 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:41 2012 UTC (13 days, 10 hours ago) by para
Branch: MAIN
Changes since 1.111: +164 -242
lines
Diff to previous 1.111 (colored)
extending vmem(9) to be able to allocated resources for it's own needs. simplifying uvm_map handling (no special kernel entries anymore no relocking) make malloc(9) a thin wrapper around kmem(9) (with private interface for interrupt safety reasons) releng@ acknowledged
Revision 1.111.2.1 / (download) - annotate - [select for diffs], Wed Nov 2 21:54:01 2011 UTC (3 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.111: +19 -7
lines
Diff to previous 1.111 (colored) next main 1.112 (colored)
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.111 / (download) - annotate - [select for diffs], Thu Sep 1 06:40:28 2011 UTC (5 months, 1 week ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.110: +6 -3
lines
Diff to previous 1.110 (colored)
Forward some UVM from matt-nb5-mips64. Add UVM_KMF_COLORMATCH flag. When uvm_map gets passed UVM_FLAG_COLORMATCH, the align argument contains the color of the starting address to be allocated (0..colormask). When uvm_km_alloc is passed UVM_KMF_COLORMATCH (which can only be used with UVM_KMF_VAONLY), the align argument contain the color of the starting address to be allocated. Change uvm_pagermapin to use this. When mapping user pages in the kernel, if colormatch is used with the color of the starting user page then the kernel mapping will be congruent with the existing user mappings.
Revision 1.110 / (download) - annotate - [select for diffs], Tue Jul 5 14:03:06 2011 UTC (7 months ago) by yamt
Branch: MAIN
Changes since 1.109: +7 -14
lines
Diff to previous 1.109 (colored)
- fix a use-after-free bug in uvm_km_free. (after uvm_km_pgremove frees pages, the following pmap_remove touches them.) - acquire the object lock for operations on pmap_kernel as it can actually be raced with P->V operations. eg. pagedaemon.
Revision 1.108.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:35 2011 UTC (7 months, 2 weeks ago) by cherry
Branch: cherry-xenmp
Changes since 1.108: +20 -9
lines
Diff to previous 1.108 (colored) next main 1.109 (colored)
Catchup with rmind-uvmplock merge.
Revision 1.109 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:03 2011 UTC (7 months, 4 weeks ago) by rmind
Branch: MAIN
Changes since 1.108: +20 -9
lines
Diff to previous 1.108 (colored)
Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
Revision 1.107.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:22 2011 UTC (8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.107: +3 -8
lines
Diff to previous 1.107 (colored) next main 1.108 (colored)
Sync with HEAD.
Revision 1.101.4.2.4.5 / (download) - annotate - [select for diffs], Fri Jun 3 07:59:58 2011 UTC (8 months, 1 week ago) by matt
Branch: matt-nb5-mips64
Changes since 1.101.4.2.4.4: +2 -2
lines
Diff to previous 1.101.4.2.4.4 (colored) to branchpoint 1.101.4.2 (colored)
Restore $NetBSD$
Revision 1.101.4.2.4.4 / (download) - annotate - [select for diffs], Wed May 25 23:58:50 2011 UTC (8 months, 2 weeks ago) by matt
Branch: matt-nb5-mips64
Changes since 1.101.4.2.4.3: +5 -3
lines
Diff to previous 1.101.4.2.4.3 (colored) to branchpoint 1.101.4.2 (colored)
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.105.2.5 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:36 2011 UTC (11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105.2.4: +16 -10
lines
Diff to previous 1.105.2.4 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)
sync with head
Revision 1.107.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:06 2011 UTC (12 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.107: +3 -8
lines
Diff to previous 1.107 (colored) next main 1.108 (colored)
Sync with HEAD
Revision 1.108 / (download) - annotate - [select for diffs], Wed Feb 2 15:25:27 2011 UTC (12 months, 1 week ago) by chuck
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: cherry-xenmp
Changes since 1.107: +3 -8
lines
Diff to previous 1.107 (colored)
udpate license clauses on my code to match the new-style BSD licenses. based on second diff that rmind@ sent me. no functional change with this commit.
Revision 1.107 / (download) - annotate - [select for diffs], Tue Jan 4 08:26:33 2011 UTC (13 months ago) by matt
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.106: +15 -4
lines
Diff to previous 1.106 (colored)
Add better color matching selecting free pages. KM pages will now allocated so that VA and PA have the same color. On a page fault, choose a physical page that has the same color as the virtual address. When allocating kernel memory pages, allow the MD to specify a preferred VM_FREELIST from which to choose pages. For machines with large amounts of memory (> 4GB), all kernel memory to come from <4GB to reduce the amount of bounce buffering needed with 32bit DMA devices.
Revision 1.104.2.8 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:15 2010 UTC (17 months, 3 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.7: +2 -2
lines
Diff to previous 1.104.2.7 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)
Sync with HEAD.
Revision 1.99.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:16 2010 UTC (17 months, 4 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.99.4.2: +4 -4
lines
Diff to previous 1.99.4.2 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)
sync with head.
Revision 1.104.2.7 / (download) - annotate - [select for diffs], Thu Jul 8 05:30:11 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.6: +0 -2
lines
Diff to previous 1.104.2.6 (colored) to branchpoint 1.104 (colored)
Clean up.
Revision 1.104.2.6 / (download) - annotate - [select for diffs], Wed Jul 7 16:35:26 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.5: +0 -1
lines
Diff to previous 1.104.2.5 (colored) to branchpoint 1.104 (colored)
Clean up; merge options DIRECT_PAGE into options XIP.
Revision 1.104.2.5 / (download) - annotate - [select for diffs], Tue Jul 6 07:20:26 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.4: +0 -47
lines
Diff to previous 1.104.2.4 (colored) to branchpoint 1.104 (colored)
Directly allocate zero'ed vm_page for XIP unallocated blocks, instead of abusing pool page. Move the code to XIP vnode pager in genfs_io.c.
Revision 1.105.2.4 / (download) - annotate - [select for diffs], Fri Jul 2 02:09:54 2010 UTC (19 months, 1 week ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105.2.3: +13 -9
lines
Diff to previous 1.105.2.3 (colored) to branchpoint 1.105 (colored)
Undo 1.105.2.2 revision, note that uvm_km_pgremove_intrsafe() extracts the mapping, improve comments.
Revision 1.104.2.4 / (download) - annotate - [select for diffs], Mon May 31 13:26:38 2010 UTC (20 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.3: +1 -1
lines
Diff to previous 1.104.2.3 (colored) to branchpoint 1.104 (colored)
Re-define the definition of "device page"; device pages are pages of device memory. Pages which don't have vm_page (== can't be used for generic use), but whose PV are tracked, are called "direct pages" from now.
Revision 1.105.2.3 / (download) - annotate - [select for diffs], Sun May 30 05:18:10 2010 UTC (20 months, 1 week ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105.2.2: +4 -4
lines
Diff to previous 1.105.2.2 (colored) to branchpoint 1.105 (colored)
sync with head
Revision 1.106 / (download) - annotate - [select for diffs], Fri May 14 05:02:06 2010 UTC (20 months, 4 weeks ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231
Changes since 1.105: +4 -4
lines
Diff to previous 1.105 (colored)
Move PMAP_KMPAGE to be used in pmap_kenter_pa flags argument. 'Looks good to me' gimpy@
Revision 1.104.2.3 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:38 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.2: +0 -1
lines
Diff to previous 1.104.2.2 (colored) to branchpoint 1.104 (colored)
Sync with HEAD.
Revision 1.105.2.2 / (download) - annotate - [select for diffs], Wed Mar 17 06:03:17 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105.2.1: +11 -4
lines
Diff to previous 1.105.2.1 (colored) to branchpoint 1.105 (colored)
Reorganise UVM locking to protect P->V state and serialise pmap(9) operations on the same page(s) by always locking their owner. Hence lock order: "vmpage"-lock -> pmap-lock. Patch, proposed on tech-kern@, from Andrew Doran.
Revision 1.105.2.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:17 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105: +8 -8
lines
Diff to previous 1.105 (colored)
Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.99.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:46 2010 UTC (23 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.99.4.1: +5 -5
lines
Diff to previous 1.99.4.1 (colored) to branchpoint 1.99 (colored)
sync with head
Revision 1.104.2.2 / (download) - annotate - [select for diffs], Tue Feb 23 07:12:08 2010 UTC (23 months, 2 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104.2.1: +1 -0
lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored)
Don't forget opt_device_page.h.
Revision 1.104.2.1 / (download) - annotate - [select for diffs], Wed Feb 10 08:12:02 2010 UTC (23 months, 4 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.104: +51 -2
lines
Diff to previous 1.104 (colored)
Initial attempt to implement uvm_pageofzero_xip(), which returns a pointer to a single read-only zeroed page. This is meant to be used for XIP now. Only compile tested.
Revision 1.105 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:33 2010 UTC (2 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.104: +2 -3
lines
Diff to previous 1.104 (colored)
Remove separate mb_map. The nmbclusters is computed at boot time based on the amount of physical memory and limited by NMBCLUSTERS if present. Architectures without direct mapping also limit it based on the kmem_map size, which is used as backing store. On i386 and ARM, the maximum KVA used for mbuf clusters is limited to 64MB by default. The old default limits and limits based on GATEWAY have been removed. key_registered_sb_max is hard-wired to a value derived from 2048 clusters.
Revision 1.101.4.2.4.3 / (download) - annotate - [select for diffs], Sat Feb 6 05:28:30 2010 UTC (2 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.101.4.2.4.2: +9 -3
lines
Diff to previous 1.101.4.2.4.2 (colored) to branchpoint 1.101.4.2 (colored)
Allow uvm_km_alloc to allocate from a specific vm freelist if the port wants it to.
Revision 1.101.4.2.4.2 / (download) - annotate - [select for diffs], Tue Jan 26 21:26:28 2010 UTC (2 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.101.4.2.4.1: +3 -3
lines
Diff to previous 1.101.4.2.4.1 (colored) to branchpoint 1.101.4.2 (colored)
Pass hints to uvm_pagealloc* to get it to use the right page color rather than guess the right page color.
Revision 1.101.4.2.4.1 / (download) - annotate - [select for diffs], Sat Jan 9 05:54:40 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.101.4.2: +7 -2
lines
Diff to previous 1.101.4.2 (colored)
If PMAP_ALLOC_POOLPAGE is defined use it instead of uvm_pagealloc
Revision 1.104 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:49 2009 UTC (2 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.103: +5 -4
lines
Diff to previous 1.103 (colored)
Add a flags argument to pmap_kenter_pa(9). Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html No objections.
Revision 1.99.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:39 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.99: +23 -19
lines
Diff to previous 1.99 (colored)
sync with head.
Revision 1.101.4.2 / (download) - annotate - [select for diffs], Sun Apr 19 15:43:14 2009 UTC (2 years, 9 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
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-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.101.4.1: +14 -13
lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)
Pull up following revision(s) (requested by mrg in ticket #708): sys/uvm/uvm_km.c: revision 1.102 sys/uvm/uvm_km.h: revision 1.18 sys/uvm/uvm_map.c: revision 1.264 PR port-amd64/32816 amd64 can not load lkms Change some assertions to partially allow for VM_MAP_IS_KERNEL(map) where map is outside the range of kernel_map.
Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:36 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.101: +19 -16
lines
Diff to previous 1.101 (colored) next main 1.102 (colored)
Sync with HEAD.
Revision 1.97.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:43 2009 UTC (3 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.97.6.2: +17 -14
lines
Diff to previous 1.97.6.2 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)
Sync with HEAD.
Revision 1.101.4.1 / (download) - annotate - [select for diffs], Sat Dec 27 18:26:22 2008 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1
Changes since 1.101: +7 -5
lines
Diff to previous 1.101 (colored)
Pull up following revision(s) (requested by bouyer in ticket #211): sys/uvm/uvm_km.c: revision 1.103 sys/uvm/uvm_map.c: revision 1.265 sys/uvm/uvm_page.c: revision 1.141 It's easier for kernel reserve pages to be consumed because the pagedaemon serves as less of a barrier these days. Restrict provision of kernel reserve pages to kmem and one of these cases: - doing a NOWAIT allocation - caller is a realtime thread - caller is a kernel thread - explicitly requested, for example by the pmap
Revision 1.103 / (download) - annotate - [select for diffs], Sat Dec 13 11:34:43 2008 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.102: +7 -5
lines
Diff to previous 1.102 (colored)
It's easier for kernel reserve pages to be consumed because the pagedaemon serves as less of a barrier these days. Restrict provision of kernel reserve pages to kmem and one of these cases: - doing a NOWAIT allocation - caller is a realtime thread - caller is a kernel thread - explicitly requested, for example by the pmap
Revision 1.99.10.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:42 2008 UTC (3 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.99.10.1: +14 -13
lines
Diff to previous 1.99.10.1 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.102 / (download) - annotate - [select for diffs], Mon Dec 1 10:54:57 2008 UTC (3 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.101: +14 -13
lines
Diff to previous 1.101 (colored)
PR port-amd64/32816 amd64 can not load lkms Change some assertions to partially allow for VM_MAP_IS_KERNEL(map) where map is outside the range of kernel_map.
Revision 1.99.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:11 2008 UTC (3 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.99: +6 -5
lines
Diff to previous 1.99 (colored)
Sync with HEAD.
Revision 1.97.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:07 2008 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.97.6.1: +4 -3
lines
Diff to previous 1.97.6.1 (colored) to branchpoint 1.97 (colored)
Sync with HEAD.
Revision 1.99.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:06 2008 UTC (3 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.99: +6 -5
lines
Diff to previous 1.99 (colored) next main 1.100 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.101 / (download) - annotate - [select for diffs], Mon Aug 4 13:37:33 2008 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.100: +3 -3
lines
Diff to previous 1.100 (colored)
the most karmic commit of all: fix tyop in comment
Revision 1.99.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:58 2008 UTC (3 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.99: +5 -4
lines
Diff to previous 1.99 (colored) next main 1.100 (colored)
Sync with head.
Revision 1.100 / (download) - annotate - [select for diffs], Wed Jul 16 00:11:27 2008 UTC (3 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: simonb-wapbl-nbase,
simonb-wapbl-base
Changes since 1.99: +5 -4
lines
Diff to previous 1.99 (colored)
Add PMAP_KMPAGE flag for pmap_kenter_pa. This allows pmaps to know that the page being entered is being for the kernel memory allocator. Such pages should have no references and don't need bookkeeping.
Revision 1.97.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.97: +6 -2
lines
Diff to previous 1.97 (colored)
Sync with HEAD.
Revision 1.83.2.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:14 2008 UTC (3 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.6: +6 -3
lines
Diff to previous 1.83.2.6 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)
sync with head.
Revision 1.99 / (download) - annotate - [select for diffs], Mon Mar 24 08:52:55 2008 UTC (3 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl,
haad-dm
Changes since 1.98: +6 -3
lines
Diff to previous 1.98 (colored)
remove a redundant pmap_update and add a comment instead.
Revision 1.97.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:33 2008 UTC (3 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.97: +3 -2
lines
Diff to previous 1.97 (colored) next main 1.98 (colored)
sync with head.
Revision 1.96.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:13 2008 UTC (3 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.96.6.1: +3 -2
lines
Diff to previous 1.96.6.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)
sync with HEAD
Revision 1.83.2.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:37:09 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.5: +3 -2
lines
Diff to previous 1.83.2.5 (colored) to branchpoint 1.83 (colored)
sync with head.
Revision 1.98 / (download) - annotate - [select for diffs], Sat Feb 23 17:27:58 2008 UTC (3 years, 11 months ago) by chris
Branch: MAIN
CVS Tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-base
Changes since 1.97: +3 -2
lines
Diff to previous 1.97 (colored)
Add some more missing pmap_update()s following pmap_kremove()s.
Revision 1.96.12.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:33 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.96: +12 -50
lines
Diff to previous 1.96 (colored) next main 1.97 (colored)
Sync with HEAD.
Revision 1.83.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:21 2008 UTC (4 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.4: +12 -50
lines
Diff to previous 1.83.2.4 (colored) to branchpoint 1.83 (colored)
sync with head
Revision 1.96.6.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:40 2008 UTC (4 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.96: +12 -50
lines
Diff to previous 1.96 (colored)
sync with HEAD
Revision 1.96.18.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:38 2008 UTC (4 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.96: +12 -50
lines
Diff to previous 1.96 (colored) next main 1.97 (colored)
Sync with HEAD
Revision 1.97 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:17 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.96: +12 -50
lines
Diff to previous 1.96 (colored)
Merge vmlocking2 to head.
Revision 1.96.16.1 / (download) - annotate - [select for diffs], Mon Dec 10 12:56:13 2007 UTC (4 years, 2 months ago) by yamt
Branch: yamt-kmem
Changes since 1.96: +56 -27
lines
Diff to previous 1.96 (colored) next main 1.97 (colored)
- separate kernel va allocation (kernel_va_arena) from in-kernel fault handling (kernel_map). - add vmem bootstrap code. vmem doesn't rely on malloc anymore. - make kmem_alloc interrupt-safe. - kill kmem_map. make malloc a wrapper of kmem_alloc.
Revision 1.96.14.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:04:00 2007 UTC (4 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.96: +12 -50
lines
Diff to previous 1.96 (colored) next main 1.97 (colored)
Pull the vmlocking changes into a new branch.
Revision 1.93.4.5 / (download) - annotate - [select for diffs], Tue Sep 18 15:42:18 2007 UTC (4 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.93.4.4: +3 -2
lines
Diff to previous 1.93.4.4 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)
Undo previous. Other threads can allocate with the map locked, which could cause PR_NOWAIT allocations to wait long term.
Revision 1.93.4.4 / (download) - annotate - [select for diffs], Tue Sep 18 15:28:13 2007 UTC (4 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.93.4.3: +4 -5
lines
Diff to previous 1.93.4.3 (colored) to branchpoint 1.93 (colored)
Don't use UVM_KMF_TRYLOCK for pool allocations when PR_NOWAIT is specified.
Revision 1.83.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:47:07 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.3: +19 -11
lines
Diff to previous 1.83.2.3 (colored) to branchpoint 1.83 (colored)
sync with head.
Revision 1.94.8.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:51:21 2007 UTC (4 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.94: +10 -10
lines
Diff to previous 1.94 (colored) next main 1.95 (colored)
Sync with HEAD.
Revision 1.96.22.2 / (download) - annotate - [select for diffs], Sat Jul 21 20:53:00 2007 UTC (4 years, 6 months ago) by ad
Branch: matt-mips64
Changes since 1.96.22.1: +824 -0
lines
Diff to previous 1.96.22.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)
Fix DEBUG build.
Revision 1.96.22.1, Sat Jul 21 20:52:59 2007 UTC (4 years, 6 months ago) by ad
Branch: matt-mips64
Changes since 1.96: +0 -824
lines
FILE REMOVED
file uvm_km.c was added on branch matt-mips64 on 2007-07-21 20:53:00 +0000
Revision 1.96 / (download) - annotate - [select for diffs], Sat Jul 21 20:52:59 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs,
matt-mips64,
matt-armv6,
bouyer-xeni386
Changes since 1.95: +5 -5
lines
Diff to previous 1.95 (colored)
Fix DEBUG build.
Revision 1.95 / (download) - annotate - [select for diffs], Sat Jul 21 19:21:54 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.94: +7 -7
lines
Diff to previous 1.94 (colored)
Merge unobtrusive locking changes from the vmlocking branch.
Revision 1.92.4.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:18 2007 UTC (4 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.92.4.1: +11 -3
lines
Diff to previous 1.92.4.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)
sync with head.
Revision 1.93.4.3 / (download) - annotate - [select for diffs], Wed Mar 21 20:11:59 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.93.4.2: +4 -14
lines
Diff to previous 1.93.4.2 (colored) to branchpoint 1.93 (colored)
- Replace more simple_locks, and fix up in a few places. - Use condition variables. - LOCK_ASSERT -> KASSERT.
Revision 1.93.4.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:55 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.93.4.1: +16 -44
lines
Diff to previous 1.93.4.1 (colored) to branchpoint 1.93 (colored)
Pull in the initial set of changes for the vmlocking branch.
Revision 1.93.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:52:08 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.93: +11 -3
lines
Diff to previous 1.93 (colored)
Sync with head.
Revision 1.94 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:39 2007 UTC (4 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base,
mjf-ufs-trans-base,
mjf-ufs-trans
Branch point for: nick-csl-alignment
Changes since 1.93: +11 -3
lines
Diff to previous 1.93 (colored)
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
Revision 1.92.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:26 2007 UTC (4 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.92: +11 -11
lines
Diff to previous 1.92 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.83.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:29 2007 UTC (4 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.2: +11 -11
lines
Diff to previous 1.83.2.2 (colored) to branchpoint 1.83 (colored)
sync with head.
Revision 1.93 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:13 2007 UTC (4 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking
Changes since 1.92: +11 -11
lines
Diff to previous 1.92 (colored)
Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
Revision 1.83.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:05 2006 UTC (5 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.1: +7 -4
lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored)
sync with head.
Revision 1.89.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:33 2006 UTC (5 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.89.6.1: +4 -5
lines
Diff to previous 1.89.6.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)
sync with head.
Revision 1.89.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:50 2006 UTC (5 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.89: +2 -2
lines
Diff to previous 1.89 (colored) next main 1.90 (colored)
Sync with head.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Nov 1 10:18:27 2006 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.91: +4 -5
lines
Diff to previous 1.91 (colored)
remove some __unused from function parameters.
Revision 1.89.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:52 2006 UTC (5 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.89: +5 -4
lines
Diff to previous 1.89 (colored)
sync with head
Revision 1.91 / (download) - annotate - [select for diffs], Thu Oct 12 21:35:00 2006 UTC (5 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.90: +4 -3
lines
Diff to previous 1.90 (colored)
More __unused (in cpp conditionals not touched by i386).
Revision 1.90 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:52 2006 UTC (5 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.89: +3 -3
lines
Diff to previous 1.89 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.84.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (5 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.84: +31 -11
lines
Diff to previous 1.84 (colored) next main 1.85 (colored)
sync with head
Revision 1.84.8.5 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:46 2006 UTC (5 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.84.8.4: +7 -4
lines
Diff to previous 1.84.8.4 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)
sync with head
Revision 1.88.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:13 2006 UTC (5 years, 6 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.88: +7 -4
lines
Diff to previous 1.88 (colored) next main 1.89 (colored)
Merge from HEAD.
Revision 1.89 / (download) - annotate - [select for diffs], Wed Jul 5 14:26:42 2006 UTC (5 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.88: +7 -4
lines
Diff to previous 1.88 (colored)
Introduce a UVM_KMF_EXEC flag for uvm_km_alloc() which enforces an executable mapping. Up to now, only R+W was requested from pmap_kenter_pa. On most CPUs, we get an executable mapping anyway, due to lack of hardware support or due to lazyness in the pmap implementation. Only alpha does obey VM_PROT_EXECUTE, afaics.
Revision 1.84.8.4 / (download) - annotate - [select for diffs], Mon Jun 26 12:55:08 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.84.8.3: +22 -6
lines
Diff to previous 1.84.8.3 (colored) to branchpoint 1.84 (colored)
sync with head.
Revision 1.83.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:40 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83: +26 -9
lines
Diff to previous 1.83 (colored)
sync with head.
Revision 1.87.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:44 2006 UTC (5 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.87: +22 -6
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Sync with head.
Revision 1.84.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:45 2006 UTC (5 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.84.6.1: +23 -6
lines
Diff to previous 1.84.6.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)
Sync with head.
Revision 1.88 / (download) - annotate - [select for diffs], Thu May 25 14:27:28 2006 UTC (5 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Changes since 1.87: +20 -4
lines
Diff to previous 1.87 (colored)
move wait points for kva from upper layers to vm_map. PR/33185 #1. XXX there is a concern about interaction with kva fragmentation. see: http://mail-index.NetBSD.org/tech-kern/2006/05/11/0000.html
Revision 1.84.12.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:48 2006 UTC (5 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.84.12.1: +5 -4
lines
Diff to previous 1.84.12.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.84.8.3 / (download) - annotate - [select for diffs], Wed May 24 10:59:30 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.84.8.2: +3 -2
lines
Diff to previous 1.84.8.2 (colored) to branchpoint 1.84 (colored)
sync with head.
Revision 1.84.10.2 / (download) - annotate - [select for diffs], Thu May 11 23:32:03 2006 UTC (5 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.84.10.1: +3 -2
lines
Diff to previous 1.84.10.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)
sync with head
Revision 1.87 / (download) - annotate - [select for diffs], Wed May 3 14:12:01 2006 UTC (5 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.86: +1 -0
lines
Diff to previous 1.86 (colored)
uvm_km_suballoc: consider kva overhead of "kmapent". fixes PR/31275 (me) and PR/32287 (Christian Biere).
Revision 1.84.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:29 2006 UTC (5 years, 9 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.84: +5 -5
lines
Diff to previous 1.84 (colored)
Sync with head.
Revision 1.84.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:58:21 2006 UTC (5 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.84: +5 -5
lines
Diff to previous 1.84 (colored)
oops - *really* sync to head this time.
Revision 1.84.8.2 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:59 2006 UTC (5 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.84.8.1: +4 -4
lines
Diff to previous 1.84.8.1 (colored) to branchpoint 1.84 (colored)
sync with head
Revision 1.86 / (download) - annotate - [select for diffs], Wed Apr 5 21:56:24 2006 UTC (5 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.85: +2 -2
lines
Diff to previous 1.85 (colored)
uvm_km_pgremove/uvm_km_pgremove_intrsafe: fix assertions.
Revision 1.84.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:58 2006 UTC (5 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
sync with head.
Revision 1.84.12.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:31 2006 UTC (5 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.85 / (download) - annotate - [select for diffs], Fri Mar 17 09:37:55 2006 UTC (5 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
uvm_km_check_empty: fix an assertion.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:29 2005 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.83: +2 -2
lines
Diff to previous 1.83 (colored)
merge ktrace-lwp.
Revision 1.77.2.1 / (download) - annotate - [select for diffs], Tue Dec 6 20:00:12 2005 UTC (6 years, 2 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Changes since 1.77: +6 -2
lines
Diff to previous 1.77 (colored) next main 1.78 (colored)
Apply patch (requested by yamt in ticket #1015): sys/uvm/uvm_glue.c: patch sys/uvm/uvm_km.c: patch - correct a return value of uvm_km_valloc1 in the case of failure. - do waitok allocation for uvm_uarea_alloc so that it won't fail on temporary memory shortage.
Revision 1.62.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:39 2005 UTC (6 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.6: +24 -47
lines
Diff to previous 1.62.2.6 (colored) next main 1.63 (colored)
Sync with HEAD. Here we go again...
Revision 1.83 / (download) - annotate - [select for diffs], Mon Jun 27 02:19:48 2005 UTC (6 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.82: +14 -37
lines
Diff to previous 1.82 (colored)
Use ANSI function decls.
Revision 1.82 / (download) - annotate - [select for diffs], Sun May 29 21:06:33 2005 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.81: +11 -11
lines
Diff to previous 1.81 (colored)
avoid shadow variables. remove unneeded casts.
Revision 1.76.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:45 2005 UTC (6 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.76: +109 -250
lines
Diff to previous 1.76 (colored) next main 1.77 (colored)
sync with -current
Revision 1.81 / (download) - annotate - [select for diffs], Wed Apr 20 14:10:03 2005 UTC (6 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.80: +4 -4
lines
Diff to previous 1.80 (colored)
Use a cast to (long long) and 0x%llx to print out a paddr_t instead of casting to (void *). Fixes compile problems with 64-bit paddr_t on 32-bit platforms.
Revision 1.80 / (download) - annotate - [select for diffs], Tue Apr 12 13:11:45 2005 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.79: +1 -1
lines
Diff to previous 1.79 (colored)
fix unreasonably frequent "killed: out of swap" on systems which have little or no swap. - even on a severe swap shortage, if we have some amount of file-backed pages, don't bother to kill processes. - if all pages in queue will be likely reactivated, just give up page type balancing rather than spinning unnecessarily.
Revision 1.62.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:32:12 2005 UTC (6 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.5: +108 -249
lines
Diff to previous 1.62.2.5 (colored)
Sync with HEAD.
Revision 1.79 / (download) - annotate - [select for diffs], Fri Apr 1 12:37:27 2005 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.78: +1 -2
lines
Diff to previous 1.78 (colored)
unwrap short lines.
Revision 1.78 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:38 2005 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.77: +107 -247
lines
Diff to previous 1.77 (colored)
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
Revision 1.76.4.7 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:07 2005 UTC (6 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.76.4.6: +2 -2
lines
Diff to previous 1.76.4.6 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.62.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:55:00 2005 UTC (6 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.4: +3 -3
lines
Diff to previous 1.62.2.4 (colored)
Sync with HEAD. Hi Perry!
Revision 1.77 / (download) - annotate - [select for diffs], Sat Feb 26 22:31:44 2005 UTC (6 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1
Branch point for: netbsd-3
Changes since 1.76: +3 -3
lines
Diff to previous 1.76 (colored)
nuke trailing whitespace
Revision 1.76.4.6 / (download) - annotate - [select for diffs], Fri Feb 18 14:35:09 2005 UTC (6 years, 11 months ago) by chs
Branch: yamt-km
Changes since 1.76.4.5: +9 -13
lines
Diff to previous 1.76.4.5 (colored) to branchpoint 1.76 (colored)
move a UVMHIST_LOG to avoid an uninitialized variable. add more info to a debug message.
Revision 1.76.4.5 / (download) - annotate - [select for diffs], Fri Feb 18 10:09:40 2005 UTC (6 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.76.4.4: +6 -9
lines
Diff to previous 1.76.4.4 (colored) to branchpoint 1.76 (colored)
whitespace, comments, panic messages. no functional changes.
Revision 1.76.4.4 / (download) - annotate - [select for diffs], Wed Feb 16 23:13:58 2005 UTC (6 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.76.4.3: +3 -4
lines
Diff to previous 1.76.4.3 (colored) to branchpoint 1.76 (colored)
remove redundant trunc_page/round_page.
Revision 1.76.4.3 / (download) - annotate - [select for diffs], Mon Jan 31 11:31:42 2005 UTC (7 years ago) by yamt
Branch: yamt-km
Changes since 1.76.4.2: +3 -3
lines
Diff to previous 1.76.4.2 (colored) to branchpoint 1.76 (colored)
uvm_km_free: uvm_km_pgremove_intrsafe and pmap_kremove only when UVM_KMF_WIRED.
Revision 1.76.4.2 / (download) - annotate - [select for diffs], Tue Jan 25 12:58:28 2005 UTC (7 years ago) by yamt
Branch: yamt-km
Changes since 1.76.4.1: +106 -210
lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored)
- don't use uvm_object or managed mappings for wired allocations. (eg. malloc(9)) - simplify uvm_km_* apis.
Revision 1.76.4.1 / (download) - annotate - [select for diffs], Tue Jan 25 12:55:32 2005 UTC (7 years ago) by yamt
Branch: yamt-km
Changes since 1.76: +2 -30
lines
Diff to previous 1.76 (colored)
remove some compatibility functions.
Revision 1.62.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:33:11 2005 UTC (7 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.3: +271 -94
lines
Diff to previous 1.62.2.3 (colored)
Sync with HEAD.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Jan 13 11:50:32 2005 UTC (7 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec
Branch point for: yamt-km,
kent-audio2
Changes since 1.75: +18 -48
lines
Diff to previous 1.75 (colored)
in uvm_unmap_remove, always wakeup va waiters if any. uvm_km_free_wakeup is now a synonym of uvm_km_free.
Revision 1.75 / (download) - annotate - [select for diffs], Wed Jan 12 09:34:35 2005 UTC (7 years ago) by yamt
Branch: MAIN
Changes since 1.74: +7 -5
lines
Diff to previous 1.74 (colored)
don't reserve (uvm_mapent_reserve) entries for malloc/pool backends because it isn't necessary or safe. reported and tested by Denis Lagno. PR/28897.
Revision 1.74 / (download) - annotate - [select for diffs], Wed Jan 5 00:58:57 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (colored)
km_vacache_alloc: UVM_PROT_ALL rather than UVM_PROT_NONE so that uvm_kernacc works. PR/28861. (FUKAUMI Naoki)
Revision 1.73 / (download) - annotate - [select for diffs], Mon Jan 3 04:01:13 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.72: +3 -2
lines
Diff to previous 1.72 (colored)
km_vacache_alloc: specify va hint correctly rather than using stack garbage. PR/28845.
Revision 1.72 / (download) - annotate - [select for diffs], Sat Jan 1 21:08:02 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.71: +213 -28
lines
Diff to previous 1.71 (colored)
in the case of !PMAP_MAP_POOLPAGE, gather pool backend allocations to large chunks for kernel_map and kmem_map to ease kva fragmentation.
Revision 1.71 / (download) - annotate - [select for diffs], Sat Jan 1 21:02:13 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.70: +18 -15
lines
Diff to previous 1.70 (colored)
introduce vm_map_kernel, a subclass of vm_map, and move some kernel-only members of vm_map to it.
Revision 1.70 / (download) - annotate - [select for diffs], Sat Jan 1 21:00:06 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.69: +26 -10
lines
Diff to previous 1.69 (colored)
for in-kernel maps, - allocate kva for vm_map_entry from the map itsself and remove the static limit, MAX_KMAPENT. - keep merged entries for later splitting to fix allocate-to-free problem. PR/24039.
Revision 1.62.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:26 2004 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.2: +2 -2
lines
Diff to previous 1.62.2.2 (colored)
Fix the sync with head I botched.
Revision 1.62.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:57:11 2004 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.1: +0 -0
lines
Diff to previous 1.62.2.1 (colored)
Sync with HEAD.
Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:57:06 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62: +62 -69
lines
Diff to previous 1.62 (colored)
Sync with HEAD
Revision 1.69 / (download) - annotate - [select for diffs], Wed Mar 24 07:47:32 2004 UTC (7 years, 10 months ago) by junyoung
Branch: 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
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored)
Drop trailing spaces.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Feb 10 01:30:49 2004 UTC (8 years ago) by matt
Branch: MAIN
Changes since 1.67: +5 -21
lines
Diff to previous 1.67 (colored)
Back out the changes in http://mail-index.netbsd.org/source-changes/2004/01/29/0027.html since they don't really fix the problem. Incorpate one fix: Mark uvm_map_entry's that were created with UVM_FLAG_NOMERGE so that they will not be used as future merge candidates.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jan 29 12:06:02 2004 UTC (8 years ago) by yamt
Branch: MAIN
Changes since 1.66: +23 -7
lines
Diff to previous 1.66 (colored)
- split uvm_map() into two functions for the followings. - for in-kernel maps, disable map entry merging so that unmap operations won't block. (workaround for PR/24039) - for in-kernel maps, allocate kva for vm_map_entry from the map itsself and eliminate MAX_KMAPENT and uvm_map_entry_kmem_pool.
Revision 1.66 / (download) - annotate - [select for diffs], Thu Dec 18 15:02:04 2003 UTC (8 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.65: +38 -7
lines
Diff to previous 1.65 (colored)
* Introduce uvm_km_kmemalloc1() which allows alignment and preferred offset to be passed to uvm_map(). * Turn all uvm_km_valloc*() macros back into (inlined) functions to retain binary compatibility with any 3rd party modules.
Revision 1.65 / (download) - annotate - [select for diffs], Thu Dec 18 08:15:42 2003 UTC (8 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.64: +26 -63
lines
Diff to previous 1.64 (colored)
Condense all existing variants of uvm_km_valloc into a single function: uvm_km_valloc1(), and use it to express all of uvm_km_valloc() uvm_km_valloc_wait() uvm_km_valloc_prefer() uvm_km_valloc_prefer_wait() uvm_km_valloc_align() in terms of it by macro expansion.
Revision 1.64 / (download) - annotate - [select for diffs], Thu Aug 28 13:12:18 2003 UTC (8 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.63: +3 -3
lines
Diff to previous 1.63 (colored)
When retiring a swap device with marked bad blocks on it we should update the `# swap page in use' and `# swap page only' counters. However, at the time of swap device removal we can no longer figure out how many of the bad swap pages are actually also `swap only' pages. So, on swap I/O errors arrange things to not include the bad swap pages in the `swpgonly' counter as follows: uvm_swap_markbad() decrements `swpgonly' by the number of bad pages, and the various VM object deallocation routines do not decrement `swpgonly' for swap slots marked as SWSLOT_BAD.
Revision 1.63 / (download) - annotate - [select for diffs], Mon Aug 11 16:33:31 2003 UTC (8 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.62: +3 -4
lines
Diff to previous 1.62 (colored)
Introduce uvm_swapisfull(), which computes the available swap space by taking into account swap devices that are in the process of being removed.
Revision 1.56.8.2 / (download) - annotate - [select for diffs], Mon Jun 2 14:30:34 2003 UTC (8 years, 8 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.56.8.1: +7 -2
lines
Diff to previous 1.56.8.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)
Pull up revision 1.58 (requested by skrll): add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to return failure if swap is full and there are no free physical pages. have malloc() use this flag if M_CANFAIL is passed to it. use M_CANFAIL to allow amap_extend() to fail when memory is scarce. this should prevent most of the remaining hangs in low-memory situations.
Revision 1.62 / (download) - annotate - [select for diffs], Sat May 10 21:10:23 2003 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.61: +21 -25
lines
Diff to previous 1.61 (colored)
Back out the following chagne:
http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html
There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.
Fixes PR kern/21517.
Revision 1.61 / (download) - annotate - [select for diffs], Thu May 8 18:13:28 2003 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +27 -23
lines
Diff to previous 1.60 (colored)
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM. Machine-dependent code is
responsible for initializing them before main() is called. Anything
that steals KVA must adjust these variables accordingly.
This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().
This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.
This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
Revision 1.42.2.10 / (download) - annotate - [select for diffs], Wed Dec 11 06:51:54 2002 UTC (9 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.42.2.9: +4 -2
lines
Diff to previous 1.42.2.9 (colored) next main 1.43 (colored)
Sync with HEAD.
Revision 1.60 / (download) - annotate - [select for diffs], Sat Nov 30 18:28:05 2002 UTC (9 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.59: +6 -4
lines
Diff to previous 1.59 (colored)
Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to uvm_map(). Change uvm_map() to honnor UVM_KMF_NOWAIT. For this, change amap_extend() to take a flags parameter instead of just boolean for direction, and introduce AMAP_EXTEND_FORWARDS and AMAP_EXTEND_NOWAIT flags (AMAP_EXTEND_BACKWARDS is still defined as 0x0, to keep the code easier to read). Add a flag parameter to uvm_mapent_alloc(). This solves a problem a pool_get(PR_NOWAIT) could trigger a pool_get(PR_WAITOK) in uvm_mapent_alloc(). Thanks to Chuck Silvers, enami tsugutomo, Andrew Brown and Jason R Thorpe for feedback.
Revision 1.56.8.1 / (download) - annotate - [select for diffs], Mon Nov 18 01:29:48 2002 UTC (9 years, 2 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
Pull up revision 1.57 (requested by thorpej in ticket #675): Don't pass VM_PROT_EXEC to pmap_kenter_pa().
Revision 1.42.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:58 2002 UTC (9 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.8: +0 -3
lines
Diff to previous 1.42.2.8 (colored)
Catch up to -current.
Revision 1.50.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:45:06 2002 UTC (9 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.50.2.4: +9 -4
lines
Diff to previous 1.50.2.4 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.59 / (download) - annotate - [select for diffs], Sat Oct 5 17:26:06 2002 UTC (9 years, 4 months ago) by oster
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-aftermerge
Changes since 1.58: +2 -5
lines
Diff to previous 1.58 (colored)
Garbage collect some leftover (and unneeded) code. OK'ed by chs.
Revision 1.42.2.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:24:07 2002 UTC (9 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.7: +7 -2
lines
Diff to previous 1.42.2.7 (colored)
Catch up to -current.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Sep 15 16:54:30 2002 UTC (9 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.57: +9 -4
lines
Diff to previous 1.57 (colored)
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to return failure if swap is full and there are no free physical pages. have malloc() use this flag if M_CANFAIL is passed to it. use M_CANFAIL to allow amap_extend() to fail when memory is scarce. this should prevent most of the remaining hangs in low-memory situations.
Revision 1.50.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:50:23 2002 UTC (9 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.50.2.3: +3 -3
lines
Diff to previous 1.50.2.3 (colored) to branchpoint 1.50 (colored)
sync kqueue branch with HEAD
Revision 1.56.6.1 / (download) - annotate - [select for diffs], Thu Aug 29 00:57:05 2002 UTC (9 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
catch up with -current.
Revision 1.42.2.7 / (download) - annotate - [select for diffs], Tue Aug 27 23:48:30 2002 UTC (9 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.6: +1 -1
lines
Diff to previous 1.42.2.6 (colored)
Catch up to -current.
Revision 1.57 / (download) - annotate - [select for diffs], Wed Aug 14 15:23:18 2002 UTC (9 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
Don't pass VM_PROT_EXEC to pmap_kenter_pa().
Revision 1.42.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:22 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.5: +8 -6
lines
Diff to previous 1.42.2.5 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.50.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:29 2002 UTC (9 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.50.2.2: +9 -7
lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored)
Catch up with -current.
Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Mar 11 21:28:54 2002 UTC (9 years, 11 months ago) by thorpej
Branch: newlock
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
Convert swap_syscall_lock and uvm.swap_data_lock to adaptive mutexes, and rename them apporpriately.
Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 7 20:15:32 2002 UTC (9 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
netbsd-1-6,
gehenna-devsw
Changes since 1.55: +9 -7
lines
Diff to previous 1.55 (colored)
If the bootstrapping process didn't actually use any KVA space, don't reserve size of 0 in kernel_map. From OpenBSD.
Revision 1.50.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:36 2002 UTC (10 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.50.2.1: +64 -195
lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored)
Sync kqueue branch with -current.
Revision 1.42.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:19:05 2001 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.4: +24 -44
lines
Diff to previous 1.42.2.4 (colored)
Catch up to -current.
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:53 2001 UTC (10 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.52: +24 -44
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 10 07:37:00 2001 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
ifpoll-base,
ifpoll
Changes since 1.54: +6 -3
lines
Diff to previous 1.54 (colored)
add RCSIDs, and in some cases, slightly cleanup #include order
Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 7 08:43:32 2001 UTC (10 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.53: +7 -5
lines
Diff to previous 1.53 (colored)
only acquire the lock for swpgonly if we actually need to adjust it.
Revision 1.53 / (download) - annotate - [select for diffs], Tue Nov 6 08:07:50 2001 UTC (10 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.52: +18 -43
lines
Diff to previous 1.52 (colored)
several changes prompted by loaning problems: - fix the loaned case in uvm_pagefree(). - redo uvmexp.swpgonly accounting to work with page loaning. add an assertion before each place we adjust uvmexp.swpgonly. - fix uvm_km_pgremove() to always free any swap space associated with the range being removed. - get rid of UVM_LOAN_WIRED flag. instead, we just make sure that pages loaned to the kernel are never on the page queues. this allows us to assert that pages are not loaned and wired at the same time. - add yet more assertions.
Revision 1.50.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:41 2001 UTC (10 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.50: +75 -184
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
Catch up with -current.
Revision 1.42.2.4 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:14 2001 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.3: +75 -184
lines
Diff to previous 1.42.2.3 (colored)
Catch up to -current.
Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:46 2001 UTC (10 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.51: +71 -182
lines
Diff to previous 1.51 (colored)
a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is
required now, since I've removed the globals that expose the address range.
pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
no longer any need to special-case it.
- eliminate struct uvm_vnode by moving its fields into struct vnode.
- rewrite the pageout path. the pager is now responsible for handling the
high-level requests instead of only getting control after a bunch of work
has already been done on its behalf. this will allow us to UBCify LFS,
which needs tighter control over its pages than other filesystems do.
writing a page to disk no longer requires making it read-only, which
allows us to write wired pages without causing all kinds of havoc.
- use a new PG_PAGEOUT flag to indicate that a page should be freed
on behalf of the pagedaemon when it's unlocked. this flag is very similar
to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
pageout fails due to eg. an indirect-block buffer being locked.
this allows us to remove the "version" field from struct vm_page,
and together with shrinking "loan_count" from 32 bits to 16,
struct vm_page is now 4 bytes smaller.
- no longer use PG_RELEASED for swap-backed pages. if the page is busy
because it's being paged out, we can't release the swap slot to be
reallocated until that write is complete, but unlike with vnodes we
don't keep a count of in-progress writes so there's no good way to
know when the write is done. instead, when we need to free a busy
swap-backed page, just sleep until we can get it busy ourselves.
- implement a fast-path for extending writes which allows us to avoid
zeroing new pages. this substantially reduces cpu usage.
- encapsulate the data used by the genfs code in a struct genfs_node,
which must be the first element of the filesystem-specific vnode data
for filesystems which use genfs_{get,put}pages().
- eliminate many of the UVM pagerops, since they aren't needed anymore
now that the pager "put" operation is a higher-level operation.
- enhance the genfs code to allow NFS to use the genfs_{get,put}pages
instead of a modified copy.
- clean up struct vnode by removing all the fields that used to be used by
the vfs_cluster.c code (which we don't use anymore with UBC).
- remove kmem_object and mb_object since they were useless.
instead of allocating pages to these objects, we now just allocate
pages with no object. such pages are mapped in the kernel until they
are freed, so we can use the mapping to find the page to free it.
this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
Revision 1.50.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:16:32 2001 UTC (10 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.50: +5 -3
lines
Diff to previous 1.50 (colored)
Update the kqueue branch to HEAD.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:42 2001 UTC (10 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.50: +5 -3
lines
Diff to previous 1.50 (colored)
Update pmap_update to now take the updated pmap as an argument. This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment. Currently this is a no-op on most platforms, so they should see no difference. Reviewed by Jason.
Revision 1.42.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:36 2001 UTC (10 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.2: +1 -10
lines
Diff to previous 1.42.2.2 (colored)
Catch up with -current.
Revision 1.50 / (download) - annotate - [select for diffs], Tue Jun 26 17:55:15 2001 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp,
kqueue
Changes since 1.49: +1 -10
lines
Diff to previous 1.49 (colored)
Reduce some complexity in the fault path -- Rather than maintaining an spl-protected "interrupt safe map" list, simply require that callers of uvm_fault() never call us in interrupt context (MD code must make the assertion), and check for interrupt-safe maps in uvmfault_lookup() before we lock the map.
Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:10:31 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42.2.1: +50 -45
lines
Diff to previous 1.42.2.1 (colored)
Catch up to -current.
Revision 1.49 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:26 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.48: +13 -13
lines
Diff to previous 1.48 (colored)
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
Revision 1.48 / (download) - annotate - [select for diffs], Sat May 26 16:32:47 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored)
replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
Revision 1.47 / (download) - annotate - [select for diffs], Fri May 25 04:06:14 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.46: +28 -28
lines
Diff to previous 1.46 (colored)
remove trailing whitespace.
Revision 1.46 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:18 2001 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.45: +5 -2
lines
Diff to previous 1.45 (colored)
Sprinkle pmap_update() calls after calls to: - pmap_enter() - pmap_remove() - pmap_protect() - pmap_kenter_pa() - pmap_kremove() as described in pmap(9). These calls are relatively conservative. It may be possible to optimize these a little more.
Revision 1.35.4.1 / (download) - annotate - [select for diffs], Mon Apr 23 21:32:05 2001 UTC (10 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.35: +5 -3
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
Pull up revision 1.44 (requested by thorpej): Use correct size for uvm_unmap() in error case of uvm_km_kmemalloc().
Revision 1.32.2.5 / (download) - annotate - [select for diffs], Sat Apr 21 17:47:06 2001 UTC (10 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.32.2.4: +6 -4
lines
Diff to previous 1.32.2.4 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)
Sync with HEAD
Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 12 21:11:47 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_base
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored)
Add a __predict_true() to an extremely common case.
Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 12 21:08:25 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +5 -3
lines
Diff to previous 1.43 (colored)
In uvm_km_kmemalloc(), use the correct size for the uvm_unmap() call if the allocation fails. Problem pointed out by Alfred Perlstein <bright@wintelcom.net>, who found a similar bug in FreeBSD.
Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:59:15 2001 UTC (10 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.42: +10 -11
lines
Diff to previous 1.42 (colored)
Catch up with -current.
Revision 1.32.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:49 2001 UTC (10 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.32.2.3: +9 -10
lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored)
Sync with HEAD.
Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:57 2001 UTC (10 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.42: +10 -11
lines
Diff to previous 1.42 (colored)
eliminate the KERN_* error codes in favor of the traditional E* codes. the mapping is: KERN_SUCCESS 0 KERN_INVALID_ADDRESS EFAULT KERN_PROTECTION_FAILURE EACCES KERN_NO_SPACE ENOMEM KERN_INVALID_ARGUMENT EINVAL KERN_FAILURE various, mostly turn into KASSERTs KERN_RESOURCE_SHORTAGE ENOMEM KERN_NOT_RECEIVER <unused> KERN_NO_ACCESS <unused> KERN_PAGES_LOCKED <unused>
Revision 1.32.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 09:24:05 2001 UTC (11 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.32.2.2: +9 -9
lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored)
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 14 02:10:01 2001 UTC (11 years ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.41: +10 -10
lines
Diff to previous 1.41 (colored)
splimp() -> splvm()
Revision 1.32.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:20:54 2000 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.32.2.1: +33 -68
lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)
Sync with HEAD.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 27 04:36:40 2000 UTC (11 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.40: +11 -2
lines
Diff to previous 1.40 (colored)
Introduce uvm_km_valloc_align() and use it to glab process's USPACE aligned on USPACE boundary in kernel virutal address. It's benefitial for MIPS R4000's paired TLB entry design.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 24 07:07:27 2000 UTC (11 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.39: +23 -67
lines
Diff to previous 1.39 (colored)
cleanup: use queue.h macros and KASSERT().
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:12:01 2000 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.32: +47 -38
lines
Diff to previous 1.32 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:25 2000 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +7 -7
lines
Diff to previous 1.38 (colored)
Add an align argument to uvm_map() and some callers of that routine. Works similarly fto pmap_prefer(), but allows callers to specify a minimum power-of-two alignment of the region. How we ever got along without this for so long is beyond me.
Revision 1.38 / (download) - annotate - [select for diffs], Mon Jul 24 20:10:53 2000 UTC (11 years, 6 months ago) by jeffs
Branch: MAIN
Changes since 1.37: +13 -4
lines
Diff to previous 1.37 (colored)
Add uvm_km_valloc_prefer_wait(). Used to valloc with the passed in voff_t being passed to PMAP_PREFER(), which results in the propper virtual alignment of the allocated space.
Revision 1.37 / (download) - annotate - [select for diffs], Tue Jun 27 17:29:24 2000 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.36: +1 -3
lines
Diff to previous 1.36 (colored)
remove include of <vm/vm.h>
Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:18 2000 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.35: +1 -3
lines
Diff to previous 1.35 (colored)
remove/move more mach vm header files: <vm/pglist.h> -> <uvm/uvm_pglist.h> <vm/vm_inherit.h> -> <uvm/uvm_inherit.h> <vm/vm_kern.h> -> into <uvm/uvm_extern.h> <vm/vm_object.h> -> nothing <vm/vm_pager.h> -> into <uvm/uvm_pager.h> also includes a bunch of <vm/vm_page.h> include removals (due to redudancy with <vm/vm.h>), and a scattering of other similar headers.
Revision 1.35 / (download) - annotate - [select for diffs], Mon May 8 23:10:20 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.34: +28 -26
lines
Diff to previous 1.34 (colored)
__predict_false() out-of-resource conditions and DIAGNOSTIC error checks.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 11 06:57:50 2000 UTC (12 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.33: +2 -1
lines
Diff to previous 1.33 (colored)
add support for ``swapctl -d'' (removing swap space). improve handling of i/o errors in swap space. reviewed by: Chuck Cranor
Revision 1.32.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:43 1999 UTC (12 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.32: +4 -3
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
Pull up to last week's -current.
Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:29 1999 UTC (12 years, 2 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.32: +4 -3
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
Sync with -current
Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 13 00:24:38 1999 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base
Changes since 1.32: +4 -3
lines
Diff to previous 1.32 (colored)
Change the pmap_enter() API slightly; pmap_enter() now returns an error value (KERN_SUCCESS or KERN_RESOURCE_SHORTAGE) indicating if it succeeded or failed. Change the `wired' and `access_type' arguments to a single `flags' argument, which includes the access type, and flags: PMAP_WIRED the old `wired' boolean PMAP_CANFAIL pmap_enter() is allowed to fail If PMAP_CANFAIL is not specified, the pmap should behave as it always has in the face of a drastic resource shortage: fall over dead. Change the fault handler to deal with failure (which indicates resource shortage) by unlocking everything, waiting for the pagedaemon to free more memory, then retrying the fault.
Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:36 1999 UTC (12 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.31: +1 -7
lines
Diff to previous 1.31 (colored)
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.3 / (download) - annotate - [select for diffs], Mon Aug 2 23:16:14 1999 UTC (12 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.22.2.1.2.2: +7 -235
lines
Diff to previous 1.22.2.1.2.2 (colored) to branchpoint 1.22.2.1 (colored) next main 1.23 (colored)
Update from trunk.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 22 22:58:38 1999 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored)
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.30 / (download) - annotate - [select for diffs], Thu Jul 22 21:27:32 1999 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
0 -> FALSE in a few places.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 18 22:55:30 1999 UTC (12 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored)
allow uvm_km_alloc_poolpage1() to use kernel-reserve pages.
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 17 06:41:36 1999 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +5 -233
lines
Diff to previous 1.27 (colored)
Garbage-collect uvm_km_get(); nothing actually uses it.
Revision 1.22.2.1.2.2 / (download) - annotate - [select for diffs], Mon Jun 21 01:47:20 1999 UTC (12 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.22.2.1.2.1: +150 -42
lines
Diff to previous 1.22.2.1.2.1 (colored) to branchpoint 1.22.2.1 (colored)
Sync w/ -current.
Revision 1.22.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:36 1999 UTC (12 years, 8 months ago) by chs
Branch: chs-ubc2
Changes since 1.22.2.1: +5 -3
lines
Diff to previous 1.22.2.1 (colored)
merge everything from chs-ubc branch.
Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 4 23:38:41 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +11 -2
lines
Diff to previous 1.26 (colored)
Keep interrupt-safe maps on an additional queue. In uvm_fault(), if we're looking up a kernel address, check to see if the address is on this "interrupt-safe" list. If so, return failure immediately. This prevents a locking screw if a page fault is taken on an interrupt-safe map in or out of interrupt context.
Revision 1.26 / (download) - annotate - [select for diffs], Wed May 26 19:27:49 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored)
Wired kernel mappings are wired; pass VM_PROT_READ|VM_PROT_WRITE for access_type to pmap_enter() to ensure that when these mappings are accessed, possibly in interrupt context, that they won't cause mod/ref emulation page faults.
Revision 1.25 / (download) - annotate - [select for diffs], Wed May 26 19:16:36 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +6 -6
lines
Diff to previous 1.24 (colored)
Change the vm_map's "entries_pageable" member to a r/o flags member, which has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable", not "allocate vm_map_entry's from non-static pool", so update all map creations to reflect that. INTRSAFE maps are maps that are used in interrupt context (e.g. kmem_map, mb_map), and thus use the static map entry pool (XXX as does kernel_map, for now). This will eventually change now these maps are locked, as well.
Revision 1.24 / (download) - annotate - [select for diffs], Tue May 25 20:30:08 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +134 -35
lines
Diff to previous 1.23 (colored)
Define a new kernel object type, "intrsafe", which are used for objects which can be used in an interrupt context. Use pmap_kenter*() and pmap_kremove() only for mappings owned by these objects. Fixes some locking protocol issues related to MP support, and eliminates all of the pmap_enter vs. pmap_kremove inconsistencies.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Fri Apr 16 16:28:45 1999 UTC (12 years, 9 months ago) by chs
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Changes since 1.22: +6 -6
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
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) - annotate - [select for diffs], Sun Apr 11 04:04:11 1999 UTC (12 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.22: +6 -6
lines
Diff to previous 1.22 (colored)
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.22 / (download) - annotate - [select for diffs], Fri Mar 26 21:58:39 1999 UTC (12 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Add a new `access type' argument to pmap_enter(). This indicates what type of memory access a mapping was caused by. This is passed through from uvm_fault() and udv_fault(), and in most other cases is 0. The pmap module may use this to preset R/M information. On MMUs which require R/M emulation, the implementation may preset the bits and avoid taking another fault. On MMUs which keep R/M information in hardware, the implementation may preset its cached bits to speed up the next call to pmap_is_modified() or pmap_is_referenced().
Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 26 17:34:16 1999 UTC (12 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.20: +3 -12
lines
Diff to previous 1.20 (colored)
add uvmexp.swpgonly and use it to detect out-of-swap conditions.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 25 18:48:52 1999 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.19: +1 -5
lines
Diff to previous 1.19 (colored)
remove now >1 year old pre-release message.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 24 03:45:27 1999 UTC (12 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.18: +1 -2
lines
Diff to previous 1.18 (colored)
after discussion with chuck, nuke pgo_attach from uvm_pagerops
Revision 1.18.2.2 / (download) - annotate - [select for diffs], Thu Feb 25 04:13:04 1999 UTC (12 years, 11 months ago) by chs
Branch: chs-ubc
Changes since 1.18.2.1: +2 -2
lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
thread_wakeup() -> wakeup().
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Nov 9 06:06:38 1998 UTC (13 years, 3 months ago) by chs
Branch: chs-ubc
Changes since 1.18: +4 -2
lines
Diff to previous 1.18 (colored)
initial snapshot. lots left to do.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 18 23:49:59 1998 UTC (13 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Changes since 1.17: +5 -4
lines
Diff to previous 1.17 (colored)
shift by PAGE_SHIFT instead of multiplying or dividing by PAGE_SIZE.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 11 23:18:20 1998 UTC (13 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
remove unused share map code from UVM: - update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg has been removed) - replace UVM_ET_ISMAP checks with UVM_ET_ISSUBMAP checks
Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 28 21:16:23 1998 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +21 -1
lines
Diff to previous 1.15 (colored)
Add a couple of comments about how the pool page allocator functions can be called with a map that doens't require spl protection.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 28 20:05:49 1998 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +12 -5
lines
Diff to previous 1.14 (colored)
Add a waitok boolean argument to the VM system's pool page allocator backend.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 13 02:11:01 1998 UTC (13 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.13: +32 -32
lines
Diff to previous 1.13 (colored)
Merge paddr_t changes into the main branch.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 9 22:36:38 1998 UTC (13 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Aug 8 03:07:02 1998 UTC (13 years, 6 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.10.2.1: +10 -6
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 1 01:39:03 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +4 -4
lines
Diff to previous 1.11 (colored)
We need to be able to specify a uvm_object to the pool page allocator, too.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 31 20:46:37 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +9 -5
lines
Diff to previous 1.10 (colored)
Allow an alternate splimp-protected map to be specified in the pool page allocator routines.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:11 1998 UTC (13 years, 6 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.10: +32 -32
lines
Diff to previous 1.10 (colored)
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 24 20:28:48 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.9: +63 -1
lines
Diff to previous 1.9 (colored)
Implement uvm_km_{alloc,free}_poolpage(). These functions use pmap hooks to
map/unmap pool pages if provided by the pmap layer.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 9 05:18:52 1998 UTC (13 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.8: +1 -7
lines
Diff to previous 1.8 (colored)
correct counting for uvmexp.wired: only pages explicitly wired by a user process should be counted.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 9 00:58:57 1998 UTC (13 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.7: +638 -611
lines
Diff to previous 1.7 (colored)
KNF.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 24 15:58:09 1998 UTC (13 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.6: +78 -6
lines
Diff to previous 1.6 (colored)
be consistent about offsets in kernel objects. vm_map_min(kernel_map) should always be the base [fixes problem on m68k detected by jason thorpe] add comments to uvm_km.c explaining kernel memory management in more detail
Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 10 14:12:14 1998 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.5: +4 -1
lines
Diff to previous 1.5 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 8 06:15:59 1998 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.4: +8 -3
lines
Diff to previous 1.4 (colored)
Allow callers of uvm_km_suballoc() to specify where the base of the submap _must_ begin, by adding a "fixed" boolean argument.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 7 11:08:47 1998 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
restore rcsids
Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 02:29:21 1998 UTC (14 years ago) by chs
Branch: MAIN
Changes since 1.2: +33 -11
lines
Diff to previous 1.2 (colored)
convert kernel_object to an aobj. in uvm_km_pgremove(), free swapslots if the object is an aobj. in uvm_km_kmemalloc(), mark pages as wired and count them.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 6 22:31:55 1998 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
RCS ID police.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Feb 5 06:25:10 1998 UTC (14 years ago) by mrg
Branch: CDC
CVS Tags: uvm980205
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the UVM kernel code portion. this will be KNF'd shortly. :-)
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 5 06:25:10 1998 UTC (14 years ago) by mrg
Branch: MAIN
Initial revision