CVS log for src/sys/arch/amd64/include/vmparam.h
Up to [cvs.NetBSD.org] / src / sys / arch / amd64 / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Aug 20 23:48:50 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -1
lines
x86: Split most of pmap.h into pmap_private.h or vmparam.h.
This way pmap.h only contains the MD definition of the MI pmap(9)
API, which loads of things in the kernel rely on, so changing x86
pmap internals no longer requires recompiling the entire kernel every
time.
Callers needing these internals must now use machine/pmap_private.h.
Note: This is not x86/pmap_private.h because it contains three parts:
1. CPU-specific (different for i386/amd64) definitions used by...
2. common definitions, including Xenisms like xpmap_ptetomach,
further used by...
3. more CPU-specific inlines for pmap_pte_* operations
So {amd64,i386}/pmap_private.h defines 1, includes x86/pmap_private.h
for 2, and then defines 3. Maybe we should split that out into a new
pmap_pte.h to reduce this trouble.
No functional change intended, other than that some .c files must
include machine/pmap_private.h when previously uvm/uvm_pmap.h
polluted the namespace with pmap internals.
Note: This migrates part of i386/pmap.h into i386/vmparam.h --
specifically the parts that are needed for several constants defined
in vmparam.h:
VM_MAXUSER_ADDRESS
VM_MAX_ADDRESS
VM_MAX_KERNEL_ADDRESS
VM_MIN_KERNEL_ADDRESS
Since i386 needs PDP_SIZE in vmparam.h, I added it there on amd64
too, just to keep things parallel.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:37:46 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -2
lines
Sync w/ HEAD.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Nov 26 20:50:45 2020 UTC (4 years ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
make the max text size the same as the max data size
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Oct 6 13:42:03 2020 UTC (4 years, 1 month ago) by christos
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -2
lines
GC unused MAXTSIZ32
Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:26 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.1: +12 -1
lines
Merge changes from current as of 20200406
Revision 1.51.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:37 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +12 -1
lines
Sync with head.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jan 22 16:52:46 2020 UTC (4 years, 10 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +12 -1
lines
Move the UBC defaults into vmparam.h
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:47 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -7
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:32 2019 UTC (5 years, 9 months ago) by cherry
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
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,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2
lines
We reorganise definitions for XEN source support as follows:
XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.
Revision 1.39.6.3: download - view: text, markup, annotated - select for diffs
Sun Jan 27 18:46:11 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.39.6.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.2: +2 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1174):
sys/arch/amd64/include/vmparam.h: revision 1.50
Increase VM_PHYSSEG_MAX from 32 to 64. Saw an example on tech-kern@ of a
heavily fragmented memory map.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:13 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.2: +2 -2
lines
Synch with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jan 17 19:26:03 2019 UTC (5 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
lines
Increase VM_PHYSSEG_MAX from 32 to 64. Saw an example on tech-kern@ of a
heavily fragmented memory map.
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:17 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +3 -1
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Oct 29 19:43:16 2018 UTC (6 years, 1 month ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
Make VM_MIN_KERNEL_ADDRESS and others available in the _KMEMUSER case
as well. This affects ddb. Tested by htodd.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Oct 28 14:12:16 2018 UTC (6 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -1
lines
Add #ifdef _KERNEL, vaddr_t does not exist in userland, and we don't want
externs anyway.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:24 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +10 -5
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Aug 12 10:50:35 2018 UTC (6 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -7
lines
Randomize the main memory on Xen, same as native. Tested on amd64-dom0.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Aug 12 08:17:50 2018 UTC (6 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -5
lines
More ASLR: randomize the kernel main memory. VM_MIN_KERNEL_ADDRESS becomes
variable, and its location is chosen at boot time. There is room for
improvement, since for now we ask for an alignment of NBPD_L4.
This is enabled by default in GENERIC, but not in Xen. Tested extensively
on GENERIC and GENERIC_KASLR, XEN3_DOM0 still boots fine.
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 11 14:37:11 2018 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.6.1: +7 -1
lines
Pull up following revision(s) (requested by mrg in ticket #733):
sys/arch/amd64/include/vmparam.h: revision 1.44
sys/arch/amd64/include/vmparam.h: revision 1.45
sys/arch/sparc64/include/vmparam.h: revision 1.38
bump PAGER_MAP_DEFAULT_SIZE to 512MB. this should allow more
concurrent IOs to be possible, and i'm unable to see pager_map
contention any more.
other larger platforms should probably do this too.
ok chs@.
Remove superfluous word in comment. Noted by Geoff Wing.
Bump PAGER_MAP_DEFAULT_SIZE to 512 MB (like amd64 recently did).
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:47 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.2: +19 -21
lines
update from HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Nov 13 07:06:49 2017 UTC (7 years ago) by wiz
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
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
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2
lines
Remove superfluous word in comment. Noted by Geoff Wing.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Nov 11 20:23:49 2017 UTC (7 years ago) by mrg
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -1
lines
bump PAGER_MAP_DEFAULT_SIZE to 512MB. this should allow more
concurrent IOs to be possible, and i'm unable to see pager_map
contention any more.
other larger platforms should probably do this too.
ok chs@.
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 31 08:32:38 2017 UTC (7 years, 3 months ago) by bouyer
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -4
lines
Pull up following revision(s) (requested by joerg in ticket #234):
sys/arch/amd64/include/vmparam.h: revision 1.43
sys/kern/exec_subr.c: revision 1.79
lib/libpthread/pthread_int.h: revision 1.94
sys/arch/mips/include/vmparam.h: revision 1.58
sys/arch/mips/include/vmparam.h: revision 1.59
lib/libpthread/TODO: revision 1.19
sys/arch/powerpc/include/vmparam.h: revision 1.20
sys/arch/riscv/include/vmparam.h: revision 1.2
sys/arch/riscv/include/vmparam.h: revision 1.3
sys/arch/i386/include/vmparam.h: revision 1.85
tests/lib/libpthread/t_join.c: revision 1.9
sys/uvm/uvm_meter.c: revision 1.66
sys/uvm/uvm_param.h: revision 1.36
sys/kern/exec_subr.c: revision 1.80
sys/uvm/uvm_param.h: revision 1.37
sys/kern/exec_subr.c: revision 1.81
sys/kern/exec_subr.c: revision 1.82
lib/libpthread/pthread_attr_getguardsize.3: revision 1.4
lib/libpthread/pthread.c: revision 1.148
lib/libpthread/pthread_attr.c: revision 1.17
sys/arch/amd64/include/vmparam.h: revision 1.42
Always include a 1MB guard area beyond the end of stack. While ASLR will
normally create a guard area as well, this provides a deterministic area
for all binaries.
Mitigates the rest of CVE-2017-1000374 and CVE-2017-1000375 from
Qualys.
Revert for the moment, creates problems on i386.
Recommit exec_subr.c revision 1.79:
Always include a 1MB guard area beyond the end of stack. While ASLR will
normally create a guard area as well, this provides a deterministic area
for all binaries.
Mitigates the rest of CVE-2017-1000374 and CVE-2017-1000375 from
Qualys.
Additionally, change VM_DEFAULT_ADDRESS_TOPDOWN to include
user_stack_guard_size in the size reservation.
Update VM_DEFAULT_ADDRESS32_TOPDOWN to include guard area.
Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.
Revision 1.36.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:28 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.2: +13 -20
lines
Sync with HEAD
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jun 24 13:43:36 2017 UTC (7 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
Update VM_DEFAULT_ADDRESS32_TOPDOWN to include guard area.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jun 23 21:28:38 2017 UTC (7 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -3
lines
Recommit exec_subr.c revision 1.79:
Always include a 1MB guard area beyond the end of stack. While ASLR will
normally create a guard area as well, this provides a deterministic area
for all binaries.
Mitigates the rest of CVE-2017-1000374 and CVE-2017-1000375 from
Qualys.
Additionally, change VM_DEFAULT_ADDRESS_TOPDOWN to include
user_stack_guard_size in the size reservation.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jun 17 08:40:46 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Increase the kernel heap size from 512GB to 32TB, in such a way that it
is able to map the maximum amount of ram supported twice (16TB x 2).
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 15 11:25:52 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -10
lines
Correct these values. They must be consistent with NKL4_MAX_ENTRIES,
otherwise the kernel thinks it has ~126TB of va while pmap knows it
has only 512GB.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:22 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +1 -8
lines
Sync with HEAD
Revision 1.36.8.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:10 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.36.8.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.8.1: +1 -8
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Feb 11 15:05:15 2017 UTC (7 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -8
lines
Remove VM_MAX_KERNEL_BUF (unused). Looks like several other ports could
do the same.
Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:09 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:49 2016 UTC (7 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +2 -2
lines
Sync with HEAD
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Nov 19 09:22:03 2016 UTC (8 years ago) by maxv
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
Put a one-page redzone between userland and the PTE space on amd64 and
i386.
The PTE space is a critical region that maps the page tree, and bugs have
been found in both amd64 and i386 where the kernel would wrongly overflow
userland data on this area. This kind of bug is terrible, since it allows
userland to overwrite some entries of the page tree, which makes it easy
to patch the kernel text and get ring0 privileges.
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:23 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -2
lines
Sync with HEAD
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Aug 7 01:01:59 2016 UTC (8 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: pgoyette-localcount-20161104,
nick-nhusb-base-20161004,
localcount-20160914
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -2
lines
Remove unused <sys/tree.h>.
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:42 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +16 -7
lines
Rebase to HEAD as of a few days ago.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +7 -4
lines
Rebase.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jul 24 13:42:28 2014 UTC (10 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3
lines
Add a FIRST1G page freelist to x86, for old graphics devices.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jun 12 19:02:35 2014 UTC (10 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -4
lines
Tweak x86 page freelists and add x86_select_freelist.
- Add 4G freelist to i386 -- there may be higher addresses if PAE.
- Add 64G and 1T freelists to amd64.
- Simplify freelist setup code and condense it into a table.
- Add x86_select_freelist to get a freelist guaranteed to yield
addresses no greater than a prescribed maximum address.
x86_select_freelist takes a uint64_t, not a paddr_t or bus_addr_t, so
that you can pass in, e.g., a 36-bit maximum address without needing
to write conditionals for i386/PAE.
No objections on port-x86:
https://mail-index.netbsd.org/port-i386/2014/05/21/msg003277.html
https://mail-index.netbsd.org/port-amd64/2014/05/21/msg002062.html
Revision 1.27.4.5: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:28 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.27.4.4: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.4: +10 -4
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:54 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +10 -4
lines
sync with head
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 25 15:16:49 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
delete VM_DEFAULT_ADDRESS; some of those should be GC'ed because they match
the default definition.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jan 25 05:09:59 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -4
lines
provide propert address defaults for topdown and bottomup allocation
Revision 1.27.4.4: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:40 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.27.4.3: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.3: +2 -2
lines
sync with (a bit old) head
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:56 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Nov 13 14:10:24 2012 UTC (12 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough.
Revision 1.27.4.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:45 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.27.4.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.2: +2 -2
lines
sync with head
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 15:22:55 2012 UTC (12 years, 3 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +2 -2
lines
Pull up following revision(s) (requested by sborrill in ticket #501):
sys/arch/amd64/include/vmparam.h: revision 1.31
sys/arch/i386/include/vmparam.h: revision 1.75
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Aug 15 08:09:57 2012 UTC (12 years, 3 months ago) by sborrill
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:08:48 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +3 -3
lines
sync to latest -current.
Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:39 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.1: +3 -3
lines
sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 7 16:16:44 2012 UTC (12 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base5,
jmcneill-usbmp-base10
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Raise per-image text size limit to 256MB. 64MB has seen already, so
provide some margin of grows.
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:00 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4
lines
sync with head
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:12 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
merge to -current.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jan 10 16:03:17 2012 UTC (12 years, 10 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
reduce VM_MAX_KERNEL_ADDRESS so that it does not include
the direct-map or APTE regions.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Nov 24 17:08:07 2011 UTC (13 years ago) by christos
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Bump text size to 128MB to make sure that gcc46 fits. It exceeded 64MB by
a tiny bit.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:04:51 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
Sync with HEAD.
Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 28 23:04:37 2011 UTC (13 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20.2.4: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.4: +3 -3
lines
Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:17 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -15
lines
sync with head
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:30 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -2
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Mar 4 13:24:19 2011 UTC (13 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase
Branch point for: yamt-pagecache
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2
lines
Revert max stack size change. This is not used anymore for 32 bit binaries.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 4 03:34:24 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
Reduce MAXSSIZ to 64MB, otherwise netbsd32 binaries crash in ld.elf_so,
including the trivial main(){}. Add a warning to not modify this without
testing compatibility mode.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 17 18:07:50 2011 UTC (13 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
make stack size limit (both initial and maximum) for native code
the double of that in 32-but emul mode, so that code which works
in emulation (or on the i386 port) will likely not overflow the
stack if built as native 64-bit program
This is still very conservative.
(before, the max stack size was natively even less than for 32bit emul)
Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 10 00:37:29 2011 UTC (13 years, 10 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.3: +1 -13
lines
Sync with HEAD
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 15 14:38:21 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +0 -11
lines
Sync with HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Nov 14 13:33:21 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base7,
uebayasi-xip-base6,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +0 -11
lines
Move struct vm_page_md definition from vmparam.h to pmap.h, because
it's used only by pmap. vmparam.h has definitions for wider
audience.
All GENERIC kernels build tested, except ia64.
powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 6 15:42:44 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base5
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2
lines
Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)). This functionality will be re-added later.
Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:47:53 2010 UTC (14 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +4 -3
lines
Sync with HEAD
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 26 06:19:03 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +0 -1
lines
Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.
(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)
Revision 1.18.26.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:53 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -3
lines
sync to netbsd-5
Revision 1.18.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:01:59 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.10.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.10.1: +4 -3
lines
sync with head
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 23 15:27:55 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Convert all VM_MDPAGE_INIT()'s to take struct vm_page_md * and paddr_t.
Revision 1.18.20.1: download - view: text, markup, annotated - select for diffs
Tue Dec 1 19:29:54 2009 UTC (15 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -3
lines
Apply patch (requested by bouyer in ticket 1158):
On amd64, add a third free list distinct from the default free list, holding
RAM between 16Mb and 4Gb. This helps preventing bus_dma(9) memory
allocation failures for 32bit DMA on large-memory machines.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Nov 22 21:41:03 2009 UTC (15 years ago) by bouyer
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3
lines
For amd64, introduce a third free list distinct from the default free list
for memory between 16M and 4G. On large memory machine, this avoids
the 32bit-accessible memory being eaten by various kernel early allocation,
causing 32bit bus_dma(9) memory allocation to fail at boot time.
Tested on a system with 48GB RAM; based on netbsd-5 patch proposed on
port-amd64 3 days ago.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:54 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:09 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -8
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:33 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -11
lines
sync with head.
Revision 1.18.18.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:39 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.18.18.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.18.1: +1 -8
lines
Sync with HEAD.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Mar 6 20:31:47 2009 UTC (15 years, 9 months ago) by joerg
Branches: 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-base,
jymxensuspend-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -8
lines
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:55 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -4
lines
Sync with HEAD.
Revision 1.18.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:49 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +12 -4
lines
Sync with HEAD.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Dec 13 14:07:10 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4
lines
_VMPARAM_H_ -> _$MACHINE_VMPARAM_H_
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Dec 13 13:36:04 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -1
lines
wrap in #ifdef __x86_64__
Revision 1.12.28.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:53 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.12.28.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.28.2: +7 -16
lines
sync with HEAD
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:21 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +8 -16
lines
Sync with HEAD.
Revision 1.8.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:26 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8.2.5: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.5: +8 -16
lines
sync with head
Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:02 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.1: +6 -15
lines
Sync with HEAD
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jan 20 13:43:38 2008 UTC (16 years, 10 months ago) by yamt
Branches: 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-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-base,
nick-net80211-sync,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
mjf-devfs-base,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
nick-hppapmap,
netbsd-5,
mjf-devfs2,
matt-nb5-mips64
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -16
lines
- rewrite P->V tracking.
- use a hash rather than SPLAY trees.
SPLAY tree is a wrong algorithm to use here.
will be revisited if it slows down anything other than
micro-benchmarks.
- optimize the single mapping case (it's a common case) by
embedding an entry into mdpage.
- don't keep a pmap pointer as it can be obtained from ptp.
(discussed on port-i386 some years ago.)
ideally, a single paddr_t should be enough to describe a pte.
but it needs some more thoughts as it can increase computational
costs.
- pmap_enter: simplify and fix races with pmap_sync_pv.
- don't bother to lock pm_obj[i] where i > 0, unless DIAGNOSTIC.
- kill mp_link to save space.
- add many KASSERTs.
Revision 1.12.28.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:55 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.12.28.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.28.1: +9 -1
lines
sync with HEAD
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:20 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -0
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jan 6 20:53:38 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1
lines
#include <sys/mutex.h>
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:30 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -1
lines
Sync with HEAD.
Revision 1.8.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:06 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8.2.4: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.4: +8 -1
lines
sync with head
Revision 1.12.8.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:43 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.12.8.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.8.2: +8 -1
lines
Sync with HEAD.
Revision 1.12.26.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:35:34 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.12.26.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.26.2: +8 -1
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Nov 22 16:16:46 2007 UTC (17 years ago) by bouyer
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -1
lines
Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.
Revision 1.12.28.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:14:21 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -22
lines
sync with HEAD
Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:25:11 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.3: +13 -22
lines
sync with head.
Revision 1.12.26.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:11 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.12.26.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.26.1: +13 -22
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Thu Oct 25 23:59:23 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.1: +13 -23
lines
Finish sync with HEAD. Especially use the new x86 pmap for xenamd64.
For this:
- rename pmap_pte_set() to pmap_pte_testset()
- make pmap_pte_set() a function or macro for non-atomic PTE write
- define and use pmap_pa2pte()/pmap_pte2pa() to read/write PTE entries
- define pmap_pte_flush() which is a nop in x86 case, and flush the
MMUops queue in the Xen case
Revision 1.12.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:11:44 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.12.8.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.8.1: +13 -22
lines
Sync with head.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:28:34 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -22
lines
merge yamt-x86pmap branch.
- reduce differences between amd64 and i386. notably, share pmap.c
between them. it makes several i386 pmap improvements available to
amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option. always use large pages if available.
also, make it work on amd64.
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 17 21:38:18 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -1
lines
amd64 (aka x86-64) support for Xen. Based on the OpenBSD port done by
Mathieu Ropert in 2006.
DomU-only for now. An INSTALL_XEN3_DOMU kernel with a ramdisk will boot to
sysinst if you're lucky. Often it panics because a runable LWP has
a NULL stack (really, it's all of l->l_addr which is has been zeroed out
while the process was on the queue !)
TODO:
- bug fixes :)
- Most of the xpq_* functions should be shared with xen/i386
- The xen/i386 assembly bootstrap code should be remplaced with the C
version in xenamd64/amd64/xpmap.c
- see if a config(5) trick could allow to merge xenamd64 back to xen or amd64.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:04 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1
lines
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Sun Oct 7 14:30:33 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.4: +1 -1
lines
bump VM_MAX_KERNEL_ADDRESS from 0xffff800100000000 to 0xffffff8000000000.
Revision 1.12.16.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:15 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3
lines
Sync with HEAD
Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 15:32:24 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +1 -10
lines
implement deferred pmap switching for amd64, and make amd64 use
x86 shared pmap code. it makes several i386 pmap improvements available
to amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 29 11:08:47 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +4 -4
lines
fix more space/tab damages.
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 29 11:03:04 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +8 -8
lines
fix some space/tab damages.
if you want to copy-and-paste code, please do so in a way which
preserves space/tab.
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 29 08:43:28 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
sync a comment with i386
Revision 1.12.26.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:03 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Sync with HEAD.
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:38 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +3 -3
lines
sync with head.
Revision 1.12.22.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:18:14 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3
lines
Sync with HEAD.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 29 23:38:03 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap,
bouyer-xenamd64
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.
Revision 1.12.8.1: download - view: text, markup, annotated - select for diffs
Tue Aug 21 23:58:50 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
amd64 changes, as yet untested:
- Adapt to vmlocking branch.
- Apply TLB shootdown and pv allocation changes to the pmap.
- Make it build.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:25 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +2 -2
lines
sync with head.
Revision 1.11.18.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:03 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -2
lines
Sync with head.
Revision 1.11.20.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:31 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -2
lines
sync with head
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Sep 27 17:10:34 2006 UTC (18 years, 2 months ago) by cube
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
ppcoea-renovation,
nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
This is again that time of the millenium where we have to crank up a few
static limits to meet modern bloat requirements.
VM_PHYSSEG_MAX needs it to run on Intel's D946GZIS motherboard, as reported
by rix on #NetBSD-code on freenode. This has a consequence on the initial
number of possible extent allocations for iomem_ex, so increase that value
too.
While there, clarify the action to be taken when VM_PHYSSEG_MAX is maxed
out.
Do that on both amd64 and i386 because the causes, the effects and the code
are mostly the same.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:48:25 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -4
lines
sync with head.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:36 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +15 -3
lines
sync with head.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jan 11 09:30:45 2006 UTC (18 years, 10 months ago) by cube
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +15 -3
lines
Add support for VM_TOPDOWN, and use it unconditionally (just like i386).
For COMPAT_NETBSD32 binaries, use VM_TOPDOWN layout too, and sync some
parameters with their i386 counterpart.
OK'd by fvdl@.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:25 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1
lines
merge ktrace-lwp.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:51:35 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.5: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.5: +2 -2
lines
Sync with HEAD. Here we go again...
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 18 20:09:51 2005 UTC (19 years, 2 months ago) by tron
Branches: 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-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +19 -1
lines
Pull up following revision(s) (requested by fvdl in ticket #798):
sys/compat/sunos/sunos_exec.c: revision 1.47
sys/compat/pecoff/pecoff_emul.c: revision 1.11
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.45
sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.12
sys/sys/proc.h: revision 1.198
sys/compat/mach/mach_exec.c: revision 1.56
sys/compat/freebsd/freebsd_exec.c: revision 1.27
sys/arch/sparc64/include/vmparam.h: revision 1.27
sys/kern/kern_resource.c: revision 1.91
sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.88
sys/compat/osf1/osf1_exec.c: revision 1.39
sys/compat/svr4_32/svr4_32_resource.c: revision 1.5
sys/compat/ultrix/ultrix_misc.c: revision 1.99
sys/compat/svr4_32/svr4_32_exec.h: revision 1.9
sys/kern/exec_elf32.c: revision 1.103
sys/compat/aoutm68k/aoutm68k_exec.c: revision 1.19
sys/compat/sunos32/sunos32_exec.c: revision 1.20
sys/compat/hpux/hpux_exec.c: revision 1.46
sys/compat/darwin/darwin_exec.c: revision 1.40
sys/kern/sysv_shm.c: revision 1.83
sys/uvm/uvm_extern.h: revision 1.99
sys/uvm/uvm_mmap.c: revision 1.89
sys/kern/kern_exec.c: revision 1.195
sys/compat/netbsd32/netbsd32.h: revision 1.31
sys/arch/sparc64/sparc64/svr4_32_machdep.c: revision 1.20
sys/compat/svr4/svr4_exec.c: revision 1.56
sys/compat/irix/irix_exec.c: revision 1.41
sys/compat/ibcs2/ibcs2_exec.c: revision 1.63
sys/compat/svr4_32/svr4_32_exec.c: revision 1.16
sys/arch/amd64/include/vmparam.h: revision 1.8
sys/compat/linux/common/linux_exec.c: revision 1.73
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
that will return the default VM map address. The default function
is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
macro. This gives emulations control over the default map address,
and allows things to be mapped at the right address (in 32bit range)
for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2
Tested on amd64, compile-tested on sparc64.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jul 30 11:11:46 2005 UTC (19 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Fix typo reported in PR 30872.
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:00 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +20 -2
lines
sync with -current
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:26:50 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +19 -1
lines
Sync with HEAD.
Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:16 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.1: +18 -0
lines
sync with head.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 26 05:12:34 2005 UTC (19 years, 8 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-km-base4,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -1
lines
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
that will return the default VM map address. The default function
is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
macro. This gives emulations control over the default map address,
and allows things to be mapped at the right address (in 32bit range)
for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2
Tested on amd64, compile-tested on sparc64.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:32:31 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +2 -2
lines
Sync with HEAD.
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:30 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
sync with head.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 11 11:01:10 2005 UTC (19 years, 9 months ago) by ws
Branches: MAIN
CVS tags: yamt-km-base3,
yamt-km-base2,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Prevent integer overflow.
Fixes PR29332.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 10 10:42:04 2005 UTC (19 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Increase max data size, now that the Xserver can grok it.
(It was the only program that couldn't.)
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:12:14 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:31:22 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:31:36 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -9
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jun 4 07:42:34 2004 UTC (20 years, 6 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -1
lines
Use the SPLAY_* macros. Copied from the i386 pmap, okay'ed by fvdl@
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 23 18:54:32 2004 UTC (20 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
bump default data size to 256M, enough to build a "-g" kernel
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 17 20:27:00 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Correct VM_MAXUSER_ADDRESS definitions, it was wasting a few pages.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:26:37 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -6
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Apr 26 18:39:49 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.
CVSweb <webmaster@jp.NetBSD.org>