History log of /netbsd-src/sys/uvm/files.uvm (Results 1 – 25 of 37)
Revision Date Author Comments
# 96893e54 03-Jun-2021 riastradh <riastradh@NetBSD.org>

uvm(9): Enable swap encryption by default.

For machines where the performance impact of swapping before the
system has an opportunity to process `vm.swap_encrypt=0' in
/etc/sysctl.conf, you can disa

uvm(9): Enable swap encryption by default.

For machines where the performance impact of swapping before the
system has an opportunity to process `vm.swap_encrypt=0' in
/etc/sysctl.conf, you can disable it again by adding

options VMSWAP_DEFAULT_PLAINTEXT

to the kernel config.

show more ...


# 0902b738 04-Aug-2020 skrll <skrll@NetBSD.org>

G/C USE_TOPDOWN_VM. __USE_TOPDOWN_VM is used (and hidden)


# f2307dc8 29-Jun-2020 riastradh <riastradh@NetBSD.org>

uvm(9): Switch from legacy rijndael API to new aes API.


# 9dd096f8 10-May-2020 pgoyette <pgoyette@NetBSD.org>

Add missing dependency.

Fixes builds with VM_SWAP but no other users of rijndael crypto code.


# 05a3457e 15-Jan-2020 ad <ad@NetBSD.org>

Merge from yamt-pagecache (after much testing):

- Reduce unnecessary page scan in putpages esp. when an object has a ton of
pages cached but only a few of them are dirty.

- Reduce the number of p

Merge from yamt-pagecache (after much testing):

- Reduce unnecessary page scan in putpages esp. when an object has a ton of
pages cached but only a few of them are dirty.

- Reduce the number of pmap operations by tracking page dirtiness more
precisely in uvm layer.

show more ...


# 9b1e2fa2 27-Dec-2019 ad <ad@NetBSD.org>

Redo the page allocator to perform better, especially on multi-core and
multi-socket systems. Proposed on tech-kern. While here:

- add rudimentary NUMA support - needs more work.
- remove now unus

Redo the page allocator to perform better, especially on multi-core and
multi-socket systems. Proposed on tech-kern. While here:

- add rudimentary NUMA support - needs more work.
- remove now unused "listq" from vm_page.

show more ...


# 881d12e6 15-Dec-2019 ad <ad@NetBSD.org>

Merge from yamt-pagecache:

- do gang lookup of pages using radixtree.
- remove now unused uvm_object::uo_memq and vm_page::listq.queue.


# 1d577fe3 20-Nov-2019 pgoyette <pgoyette@NetBSD.org>

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation. Now, the
coredump module is completely separated from the emulation mo

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation. Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !

show more ...


# 482e5d89 19-May-2018 jdolecek <jdolecek@NetBSD.org>

Remove emap support. Unfortunately it never got to state where it would be
used and usable, due to reliability and limited & complicated MD support.

Going forward, we need to concentrate on interfac

Remove emap support. Unfortunately it never got to state where it would be
used and usable, due to reliability and limited & complicated MD support.

Going forward, we need to concentrate on interface which do not map anything
into kernel in first place (such as direct map or KVA-less I/O), rather
than making those mappings cheaper to do.

show more ...


# 3b1622fa 23-Dec-2016 cherry <cherry@NetBSD.org>

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nic

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

show more ...


# 07b8fffc 01-Dec-2016 mrg <mrg@NetBSD.org>

allow the sizes of the maphist and pdhist to be set in the config
file via UVMHIST_MAPHIST_SIZE and UVMHIST_PDHIST_SIZE.


# b2c79c58 12-Aug-2016 skrll <skrll@NetBSD.org>

Make UVMHIST_PRINT work again by making it define KERNHIST_PRINT


# 66b146ac 27-Jul-2015 maxv <maxv@NetBSD.org>

Several changes and improvements in KMEM_GUARD:
- merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
makes it more consistent. Also, it allows us to enable KMEM_GUARD
without

Several changes and improvements in KMEM_GUARD:
- merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
makes it more consistent. Also, it allows us to enable KMEM_GUARD
without enabling DEBUG.
- rename uvm_kmguard_XXX to kmem_guard_XXX, for consistency
- improve kmem_guard_alloc() so that it supports allocations bigger than
PAGE_SIZE
- remove the canary value, and use directly the kmem header as underflow
pattern.
- fix some comments

(The UAF fifo is disabled for the moment; we actually need to register
the va and its size, and add a weight support not to consume too much
memory.)

show more ...


# 7946130d 12-Apr-2015 joerg <joerg@NetBSD.org>

UVM_RESERVED_PAGES_PER_CPU must be a param, not a flag.


# 3350a13f 11-Apr-2015 joerg <joerg@NetBSD.org>

Allow changing the per-cpu emergency page reservation via kernel config.


# bb143539 10-Oct-2014 uebayasi <uebayasi@NetBSD.org>

Use opt_*.h to not polute CPPFLAGS.

Attribute dependency is not yet. Revert a definition.


# ddd87a14 10-Oct-2014 uebayasi <uebayasi@NetBSD.org>

Define "uvm" attribute and mark files.


# a852848e 17-May-2011 mrg <mrg@NetBSD.org>

fix the ordering and make UVMHIST enable KERNHIST automatically.


# 565a3d30 09-Dec-2010 uebayasi <uebayasi@NetBSD.org>

Make UVM_PAGE_TRKOWN a real flag.


# 9783f258 21-Feb-2010 drochner <drochner@NetBSD.org>

rename the va0_disabled option and cpp conditional to "disable" as well,
for consistency, and document option and sysctl flag


# dda500d0 18-Feb-2010 drochner <drochner@NetBSD.org>

Disable mapping of virtual address 0 by user programs per default.
This blocks an easy exploit of kernel bugs leading to dereference
of a NULL pointer on some architectures (eg i386).
The check can b

Disable mapping of virtual address 0 by user programs per default.
This blocks an easy exploit of kernel bugs leading to dereference
of a NULL pointer on some architectures (eg i386).
The check can be disabled in various ways:
-by CPP definitions in machine/types.h (portmaster's choice)
-by a kernel config option USER_VA0_DISABLED_DEFAULT=0
-at runtime by sysctl vm.user_va0_disabled (cannot be cleared
at securelevel>0)

show more ...


# 40cf6f36 21-Oct-2009 rmind <rmind@NetBSD.org>

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pm

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

show more ...


# 0dee8e59 09-Aug-2009 matt <matt@NetBSD.org>

Add [default] option to make UAREAs swappable. Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.


# 5c68e5d0 28-Jun-2009 rmind <rmind@NetBSD.org>

Ephemeral mapping (emap) implementation. Concept is based on the idea that
activity of other threads will perform the TLB flush for the processes using
emap as a side effect. To track that, global

Ephemeral mapping (emap) implementation. Concept is based on the idea that
activity of other threads will perform the TLB flush for the processes using
emap as a side effect. To track that, global and per-CPU generation numbers
are used. This idea was suggested by Andrew Doran; various improvements to
it by me. Notes:

- For now, zero-copy on pipe is not yet enabled.
- TCP socket code would likely need more work.
- Additional UVM loaning improvements are needed.

Proposed on <tech-kern>, silence there.
Quickly reviewed by <ad>.

show more ...


# f51a17bc 29-Mar-2009 ad <ad@NetBSD.org>

kernel memory guard for DEBUG kernels, proposed on tech-kern.
See kmem_alloc(9) for details.


12