The NetBSD Project

CVS log for src/sys/arch/arm/include/arm32/vmparam.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / include / arm32

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57 / (download) - annotate - [select for diffs], Sun Apr 16 14:01:51 2023 UTC (11 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Rename VM_KERNEL_IO_ADDRESS to VM_KERNEL_IO_BASE to match RISC-V

It's less letters, matches other similar variables and will help with
sharing code between the two architectures.

NFCI.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Oct 8 18:10:00 2020 UTC (3 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up following revision(s) (requested by he in ticket #1105):

	sys/arch/arm/include/arm32/vmparam.h: revision 1.56

Bump MAXDSIZ from 1536 to 1836.
1836 is 2048-128(MAXTSIZ)-64(MAXSSIZ).

Gives us a fighting chance to build rust natively.

OK'ed by skrll@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 8 12:49:06 2020 UTC (3 years, 6 months ago) by he
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, 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
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Bump MAXDSIZ from 1536 to 1836.
1836 is 2048-128(MAXTSIZ)-64(MAXSSIZ).
Gives us a fighting chance to build rust natively.
OK'ed by skrll@

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 29 06:49:53 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

Cover the full kernel address range in KASAN

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jul 11 06:46:19 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

Fix ARM builds

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jul 10 15:12:33 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.52: +1 -5 lines
Diff to previous 1.52 (colored)

Remove stray #else / #endif block in KASAN support commit

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 10 12:45:15 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Oops... deal with a last minute #define name change.  KASAN support now
builds.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:09 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.50: +32 -2 lines
Diff to previous 1.50 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 10 07:31:33 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.49: +6 -8 lines
Diff to previous 1.49 (colored)

Do previous differently for now

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 8 09:50:45 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.48: +28 -1 lines
Diff to previous 1.48 (colored)

Provide some KVA layout #defines in arm32/vmparam.h and simplify
fdt/platform.h as a nice side effect

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 8 07:59:49 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.47: +1 -5 lines
Diff to previous 1.47 (colored)

Remove an unnecessary #ifdef

Revision 1.41.14.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:35 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.41.14.1: +2 -2 lines
Diff to previous 1.41.14.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:24 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 13 20:36:44 2020 UTC (4 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.46: +1 -6 lines
Diff to previous 1.46 (colored)

Revert previous; we don't want arm to have variable page size. Instead
nick@ is fixing the cache pages issue to use a separate pool.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jan 11 19:06:34 2020 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.45: +6 -1 lines
Diff to previous 1.45 (colored)

Define the min and max page size supported for the benefit of jemalloc

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 19 09:54:42 2019 UTC (4 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Update a comment

Revision 1.41.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:54 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.41: +3 -6 lines
Diff to previous 1.41 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 30 21:06:42 2019 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Need to include <sys/cdefs.h> so that the _ARM_CPU* macros get defined
so that we always select the correct page size (8K for armv6+).

Revision 1.43 / (download) - annotate - [select for diffs], Wed Mar 27 17:15:29 2019 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.42: +1 -5 lines
Diff to previous 1.42 (colored)

- expose vmparams to userland on arm, like other archs do.
- remove unneeded includes

Revision 1.41.12.1 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:19 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 27 13:26:23 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Trailing whitespace

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:54 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27.2.2: +15 -16 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

update from HEAD

Revision 1.35.4.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:31 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.4.4: +1 -12 lines
Diff to previous 1.35.4.4 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:23 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.40: +1 -12 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:11 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.40: +1 -12 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Mon Feb 13 09:46:30 2017 UTC (7 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, 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: phil-wifi, pgoyette-compat
Changes since 1.40: +1 -12 lines
Diff to previous 1.40 (colored)

G/C VM_MAX_KERNEL_BUF

Revision 1.35.4.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:31 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.4.3: +2 -1 lines
Diff to previous 1.35.4.3 (colored) to branchpoint 1.35 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 18 00:28:32 2015 UTC (8 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

pull in arm/arm32/param.h

Revision 1.35.4.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:37 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.4.2: +2 -1 lines
Diff to previous 1.35.4.2 (colored) to branchpoint 1.35 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jun 20 07:13:25 2015 UTC (8 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

__USE_TOPDOWN_VM

Fixes PR/49974: mmap(2) of large anonymous regions is broken

"go for it" from matt@

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:56 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.4.1: +6 -6 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 2 05:54:23 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Back off MAXDSIZ to 1.5GB to avoid some virtual memory exhausted messages.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 28 02:24:23 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

ARM systems are no longer small, increase MAXTSIZ/MAXDSIZ/MAXSSIZ.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:53 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.35: +9 -1 lines
Diff to previous 1.35 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 24 22:02:40 2015 UTC (9 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.35: +9 -1 lines
Diff to previous 1.35 (colored)

Restore PAGER_MAP_DEFAULT_SIZE for ARMv4, they typically have only 256MB
KVA.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:46 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.27.2.1: +8 -6 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:51 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Rebase.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 27 21:31:34 2014 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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: nick-nhusb
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

More fixes as a step towards ARM_MMU_EXTENDED on RPI.

- don't set CPU_CONTROL_SYST_ENABLE in arm11x6_setup for ARM_MMU_EXTENDED

- Use the new MMU defines for V6N

- pull in arm/cpuconf.h in vmparam s that VM_MAXUSER_ADDRESS gets set
  correctly.

Revision 1.25.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:33 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25.8.2: +12 -11 lines
Diff to previous 1.25.8.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

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.29.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:58 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.29: +8 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 31 01:48:37 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.33: +5 -1 lines
Diff to previous 1.33 (colored)

For ARM_MMU_EXTENDED, a KERNEL_BASE >= 0x80000000 is ok but a
VM_USER_MAXADDRESS can not be more than 0x80000000 - PAGE_SIZE.

Revision 1.23.12.2 / (download) - annotate - [select for diffs], Mon Mar 24 18:42:50 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.23.12.1: +5 -1 lines
Diff to previous 1.23.12.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Deal with those arms who only need one type of freelist.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 26 16:16:18 2014 UTC (10 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

Revert previous - will fix userland with new sysctls for VM_MIN_ADDRESS/
VM_MAXADDESS.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 26 11:00:40 2014 UTC (10 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Include param.h here - userland expects VM_* defines to work with just
this include, but PAGE_SIZE relies on PGSHIFT now, which is not defined
here.

Matt: please rearrange/cleanup differently if you prefer (but test build
src/tests/lib/libc/sys/t_mlock for example.)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 26 01:55:02 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

Use PAGE_SIZE instead of 1000

Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 21 22:05:58 2014 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored)

Remove unnecessary include of sys/simplelock.h

Revision 1.23.12.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (10 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.23: +25 -51 lines
Diff to previous 1.23 (colored)

Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:00 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

resync from head

Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 27 17:50:07 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Define PAGESHIFT using PGSHIFT

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 25 16:12:13 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Bump max text/data/stack sizes to more reasonable values.

Revision 1.25.16.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:32 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.25.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:05 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.25.8.1: +3 -3 lines
Diff to previous 1.25.8.1 (colored) to branchpoint 1.25 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 16 07:25:37 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Tweak max addresses a bit so that [r1, #off] can't overflow them.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:05 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

sync with head

Revision 1.25.12.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:27 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

merge to -current.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 16 02:27:11 2012 UTC (12 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

expose stuff that crash needs to kmemuser

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:36 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24: +1 -42 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Mon Nov 15 14:38:22 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.24.2.2: +0 -40 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Nov 14 13:33:21 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, uebayasi-xip-base6, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, matt-nb6-plus, jmcneill-usbmp
Changes since 1.24: +1 -42 lines
Diff to previous 1.24 (colored)

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.24.2.2 / (download) - annotate - [select for diffs], Tue Feb 23 07:03:12 2010 UTC (14 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.24.2.1: +11 -11 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Pass struct vm_page_md * to VM_MDPAGE_INIT(), not struct vm_page *.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Feb 9 07:42:26 2010 UTC (14 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Kill vm_page::phys_addr.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:17 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.21.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:43 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21.10.1: +3 -10 lines
Diff to previous 1.21.10.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:44 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 6 20:31:47 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored)

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.22.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:42 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:50 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.21.6.1: +2 -2 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:21 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 6 19:13:45 2008 UTC (15 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-mips64, jym-xensuspend
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Change pv_entries to use SLIST.

For VIPT caches, keep track of when pages are dirty so that their content
can be flushed back to main memory.  This is done when the page is
read-only mapped by more than 1 color.  Pages become when either their
modified bit gets set or an unmanaged writeable page is mapped.  When
a page in unmapped or changed to read-only, run pmap_vac_me_harder in
case the page can be mapped read-only.

Thanks are given to Imre Deak for giving me the idea to assert for PVF_DIRTY.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:54 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.21: +14 -2 lines
Diff to previous 1.21 (colored)

Sync with HEAD.

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:36 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.21: +14 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:01 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21: +14 -2 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:44 2008 UTC (15 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.21: +14 -2 lines
Diff to previous 1.21 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.20.20.1 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:44 2008 UTC (16 years, 1 month ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.20.32.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:23 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.19.18.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:43 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.18.1: +2 -2 lines
Diff to previous 1.19.18.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.20.24.1 / (download) - annotate - [select for diffs], Sun Jan 20 16:04:01 2008 UTC (16 years, 2 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync to HEAD.

Revision 1.20.26.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:18 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.20.26.1: +2 -2 lines
Diff to previous 1.20.26.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with HEAD

Revision 1.20.38.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:27 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 4 21:58:03 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Header cleanup.

Revision 1.19.54.1.4.1 / (download) - annotate - [select for diffs], Sat Nov 10 02:56:43 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-nb4-arm
Changes since 1.19.54.1: +11 -1 lines
Diff to previous 1.19.54.1 (colored) next main 1.20 (colored)

Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc

Revision 1.20.26.1 / (download) - annotate - [select for diffs], Fri Oct 12 02:22:24 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.20: +14 -2 lines
Diff to previous 1.20 (colored)

Import TI OMAP 2430 and ARM11/ARMv6 support.  Now on ARMv6, the cache is
no longer purged on context switches.

Revision 1.19.18.1 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:00 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)

sync with head.

Revision 1.19.54.1 / (download) - annotate - [select for diffs], Wed Feb 21 18:31:42 2007 UTC (17 years, 1 month ago) by snj
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base
Branch point for: matt-nb4-arm
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pull up following revision(s) (requested by matt in ticket #457):
	sys/arch/arm/include/arm32/vmparam.h: revision 1.20
From Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
This one is really simple.  I wanted to use KERNEL_BASE in an
assembly source, but arch/arm/include/arm32/vmparam.h wasn't
protected by #ifndef __ASSEMBLER__.  The patch adds the protection.

Revision 1.19.48.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:42 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 6 00:39:02 2007 UTC (17 years, 3 months ago) by christos
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, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, jmcneill-pm-base, jmcneill-pm, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, hpcarm-cleanup, chris-arm-intr-rework, bouyer-xeni386
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)

From Scott Alan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html

This one is really simple.  I wanted to use KERNEL_BASE in an assembly source,
but arch/arm/include/arm32/vmparam.h wasn't protected by #ifndef
__ASSEMBLER__.  The patch adds the protection.

Revision 1.19 / (download) - annotate - [select for diffs], Thu May 22 05:25:48 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, netbsd-4-base, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, ktrace-lwp, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, 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-lazymbuf, newlock2, netbsd-4
Changes since 1.18: +10 -1 lines
Diff to previous 1.18 (colored)

Use virtual_avail and virtual_end to compute the size of the available
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 21 18:04:44 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +1 -41 lines
Diff to previous 1.17 (colored)

Remove #ifdefs supporting the old pmap, switching fully to the new.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 4 01:54:32 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +2 -14 lines
Diff to previous 1.16 (colored)

VM_{MIN,MAX}* are now the same for ARM32_PMAP_NEW with both new and
old VM layout, so merge the two cases.

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 3 18:25:29 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Don't expose KERNEL_TEXT_BASE outside of board-specific code.  This gives
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.

Revision 1.15 / (download) - annotate - [select for diffs], Fri May 2 23:26:47 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Don't need to reserve a page of space before KERNEL_BASE in the
ARM32_NEW_VM_LAYOUT case.

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 2 23:22:34 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +12 -1 lines
Diff to previous 1.13 (colored)

Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 18 11:08:28 2003 UTC (21 years ago) by scw
Branch: MAIN
Changes since 1.12: +39 -1 lines
Diff to previous 1.12 (colored)

Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems.

Some features of the new pmap are:

 - It allows L1 descriptor tables to be shared efficiently between
   multiple processes. A typical "maxusers 32" kernel, where NPROC is set
   to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily
   with just 4 L1s. This completely solves the problem of running out
   of contiguous physical memory for allocating new L1s at runtime on a
   busy system.

 - Much improved cache/TLB management "smarts". This change ripples
   out to encompass the low-level context switch code, which is also
   much smarter about when to flush the cache/TLB, and when not to.

 - Faster allocation of L2 page tables and associated metadata thanks,
   in part, to the pool_cache enhancements recently contributed to
   NetBSD by Wasabi Systems.

 - Faster VM space teardown due to accurate referenced tracking of L2
   page tables.

 - Better/faster cache-alias tracking.

The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel
config file, and making the necessary changes to the port-specific
initarm() function. Several ports have already been converted and will
be committed shortly.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 2 07:35:55 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.1.4.6 / (download) - annotate - [select for diffs], Wed Dec 11 05:53:08 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.5: +1 -2 lines
Diff to previous 1.1.4.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 10 05:14:26 2002 UTC (21 years, 4 months ago) by thorpej
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.10: +1 -2 lines
Diff to previous 1.10 (colored)

Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Sat Dec 7 20:42:10 2002 UTC (21 years, 4 months ago) by he
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, 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.9: +7 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up revision 1.10 (requested by thorpej in ticket #714):
  Add code, conditional on PMAP_ALIAS_DEBUG, which can be
  used to hunt for virtual aliases between managed (pmap_enter)
  and unmanaged (pmap_kenter_pa) mappings.

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:32:41 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.5: +7 -1 lines
Diff to previous 1.3.2.5 (colored) next main 1.4 (colored)

sync kqueue branch with HEAD

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:13 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

catch up with -current.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Tue Aug 13 02:17:54 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.4: +7 -1 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 9 18:23:00 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, bjh21-hydra-base, bjh21-hydra
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

Add some code, conditional on PMAP_ALIAS_DEBUG, that can be used to
hunt for virtual aliases between managed (pmap_enter) and non-managed
(pmap_kenter_pa) mappings.

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:52 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.4: +5 -6 lines
Diff to previous 1.3.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:11 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.3: +21 -18 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 23 19:38:30 2002 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

KERNEL_SPACE_START -> KERNEL_BASE

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 23 02:22:57 2002 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 15:56:10 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.3: +17 -13 lines
Diff to previous 1.3.2.3 (colored)

Catch up with -current.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 5 04:20:00 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.6: +17 -12 lines
Diff to previous 1.6 (colored)

Switch back to using vm_page_md (thanks chuq for finding the bug
in the code that made it unstable before!)

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 3 11:22:59 2002 UTC (22 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:07:35 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.2: +1 -1 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:21 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.2: +1 -1 lines
Diff to previous 1.3.2.2 (colored)

Sync w/ -current.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 6 17:41:44 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.4: +11 -16 lines
Diff to previous 1.4 (colored)

Back out all the vm_page_md changes.  They are causing some
mysterious problems (a similar change to the i386 pmap causes
mysterious problems there, as well), and the issue needs to
be investigated more.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 5 21:14:37 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +17 -12 lines
Diff to previous 1.3 (colored)

Use vm_page_md rather than pmap_physseg.  Saves lots of cycles in
common operations.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:57 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.3.2.1: +122 -0 lines
Diff to previous 1.3.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:12 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +122 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.3.2.1, Fri Nov 23 18:16:10 2001 UTC (22 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +0 -122 lines
FILE REMOVED

file vmparam.h was added on branch kqueue on 2002-01-10 19:37:57 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 23 18:16:10 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.2: +51 -1 lines
Diff to previous 1.2 (colored)

Move even more constants into the shared 32-bit vmparam.h header.
Cleanup elsewhere will have to be done before we can sanitize this
header any further.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 23 17:39:04 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +20 -1 lines
Diff to previous 1.1 (colored)

- Move more contents of various <machine/vmparam.h> files into
  <arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap
  implementation).
- Since the MMU definitions in pte.h are specific to ARM processors
  that support 32-bit mode, move pte.h to <arm/arm32/pte.h>.
- Make the Netwinder startup file build again (use PT_B|PT_C, rather
  than PT_CACHEABLE, since the latter expands to a variable these days).

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 12 21:16:33 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.1.2.1: +53 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

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

Revision 1.1.4.1, Sun Nov 11 16:40:36 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -53 lines
FILE REMOVED

file vmparam.h was added on branch nathanw_sa on 2002-01-08 00:23:12 +0000

Revision 1.1.2.1, Sun Nov 11 16:40:36 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.1: +0 -53 lines
FILE REMOVED

file vmparam.h was added on branch thorpej-mips-cache on 2001-11-12 21:16:33 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 11 16:40:36 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: thorpej-mips-cache, nathanw_sa

Even though the ARM architecture defines large, standard, and small
pages, we use the standard (4K) page size as PAGE_SIZE.  Make the
PAGE_SIZE related variables compile-time constants that reflect this.

Results in a bit over 2K worth of .text savings, and visibly better
code in the places that use PAGE_SIZE, etc.

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




CVSweb <webmaster@jp.NetBSD.org>