CVS log for src/sys/uvm/uvm_physseg.c
Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.17.20.1: download - view: text, markup, annotated - select for diffs
Mon Jan 15 14:15:54 2024 UTC (10 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -4
lines
Pull up following revision(s) (requested by tnn in ticket #554):
sys/uvm/uvm_physseg.c: revision 1.20
sys/uvm/uvm_pglist.c: revision 1.91
sys/uvm/uvm_pglist.c: revision 1.92
sys/uvm/uvm_physseg.h: revision 1.9
uvm: change type of uvm_physseg.start_hint from u_int to u_long
Avoids assertion failure in uvm_pglistalloc_s_ps() with large paddrs.
PR kern/57683.
fix DEBUG build
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jan 13 09:44:42 2024 UTC (10 months, 4 weeks ago) by tnn
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4
lines
uvm: change type of uvm_physseg.start_hint from u_int to u_long
Avoids assertion failure in uvm_pglistalloc_s_ps() with large paddrs.
PR kern/57683.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Sep 23 18:20:20 2023 UTC (14 months, 2 weeks ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +43 -5
lines
uvm_phys_to_vm_page() turns out to be a fairly central routine due to the
way that some of the pmaps work, so try to optimise it a little.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 9 09:00:56 2023 UTC (20 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -5
lines
uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B)
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jul 15 15:08:26 2020 UTC (4 years, 4 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Fix typo. Use PRIxPADDR rather than casting.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jul 13 10:46:10 2020 UTC (4 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2
lines
paddr_t can't be printed by "%lx" in some platforms.
fix the eg, i386 build.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 13 05:52:50 2020 UTC (4 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
actually show the start/end that failed start < end in uvm_page_physload().
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:21 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.1: +0 -4
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:05 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +19 -11
lines
Merge changes from current as of 20200406
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 15 21:06:30 2020 UTC (4 years, 8 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -4
lines
uvm_physseg: cluster fields used during RB tree lookup for PHYS_TO_VM_PAGE().
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Dec 21 14:41:44 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -5
lines
- Rename VM_PGCOLOR_BUCKET() to VM_PGCOLOR(). I want to reuse "bucket" for
something else soon and TBH it matches what this macro does better.
- Add inlines to set/get locator values in the unused lower bits of
pg->phys_addr. Begin by using it to cache the freelist index, because
computing it is expensive and that shows up during profiling. Discussed
on tech-kern.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Dec 20 19:03:17 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2
lines
KNF
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Dec 13 20:10:22 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -4
lines
Break the global uvm_pageqlock into a per-page identity lock and a private
lock for use of the pagedaemon policy code. Discussed on tech-kern.
PR kern/54209: NetBSD 8 large memory performance extremely low
PR kern/54210: NetBSD-8 processes presumably not exiting
PR kern/54727: writing a large file causes unreasonable system behaviour
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 20 11:09:43 2019 UTC (5 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -5
lines
Fix programming mistake: 'paddrp' is a pointer given as argument, setting
it to NULL in the called function does not set it to NULL in the caller.
Actually, the callers of these functions do not do anything with the
special error handling, so drop the unused checks and the NULL assignments
altogether.
Found by the lgtm bot.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 21 17:58:43 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -4
lines
CID-1427737: Pacify coverity using KASSERT
Revision 1.8.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:22 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.8.12.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.12.1: +1396 -0
lines
update from HEAD
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:17 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.2: +2 -5
lines
Sync with HEAD
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:09 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -9
lines
Sync with HEAD
Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:54 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +6 -9
lines
Sync with HEAD
Revision 1.8.12.1
Sun Mar 19 23:30:39 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.8: +0 -1396
lines
file uvm_physseg.c was added on branch tls-maxphys on 2017-12-03 11:39:22 +0000
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 19 23:30:39 2017 UTC (7 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: tls-maxphys
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -5
lines
__diagused police
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:41:01 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +1399 -0
lines
Sync with HEAD
Revision 1.7.2.1
Thu Feb 2 21:22:08 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.7: +0 -1399
lines
file uvm_physseg.c was added on branch nick-nhusb on 2017-02-05 13:41:01 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 2 21:22:08 2017 UTC (7 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Branch point for: nick-nhusb
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
Add missing spaces in split string literals.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:53 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +1399 -0
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.6.2.1
Thu Dec 29 12:58:38 2016 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.6: +0 -1399
lines
file uvm_physseg.c was added on branch pgoyette-localcount on 2017-01-07 08:56:53 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 29 12:58:38 2016 UTC (7 years, 11 months ago) by rin
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Protect uvm_physseg_set_avail_{start,end} by UVM_PHYSSEG_LEGACY.
All the ports other than acorn26 do not use them any longer.
Ok cherry
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 25 06:30:58 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +24 -30
lines
Make uvm_physseg_set_avail_start(9) available unconditional to UVM_HOTPLUG
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Dec 25 03:39:26 2016 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -1
lines
Provide a set_available_start method for the non UVM_HOTPLUG case.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:42:32 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
Omitted assigning handle return value for the case:
(VM_PHYSSEG_STRAT == VM_PSTRAT_RANDOM)
Fix this.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Dec 22 08:15:20 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -17
lines
convention about function names for predicate checking:
s/uvm_physseg_valid()/uvm_physseg_valid_p()/
per. matt@
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 19 12:21:29 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
This is a preview of the uvm_hotplug(9) api code.
This commit does not actually introduce the UVM_HOTPLUG option.
However it does provide developers a way to review, test and try out
the API.
To do this, please go to tests/sys/uvm/ and build and run the tests
there. The tests also have a set of basic load tests, to get a measure
of the performance penalties due to enabling the UVM_HOTPLUG option.
In order to build the tests you need to have at least done the
following in $SRC/
cd $SRC; $NBMAKE do-distrib-dirs includes
cd $SRC/lib/csu; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc_s; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc; $NBMAKE all install || exit
cd $SRC/lib/libc; $NBMAKE includes all install || exit
cd $SRC/lib/libpthread; $NBMAKE all install || exit
cd $SRC/lib/libm; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libstdc++-v3/; $NBMAKE all install || exit
Once the development environment has these userspace libraries, one
can simple build using $NBMAKE and finally test the kernel API using
atf-run|atf-report
CVSweb <webmaster@jp.NetBSD.org>