#
fc536c07 |
| 29-Apr-2023 |
riastradh <riastradh@NetBSD.org> |
tmpfs: Nix trailing whitespace. No functional change intended.
|
#
4b8a875a |
| 11-Jun-2020 |
ad <ad@NetBSD.org> |
uvm_availmem(): give it a boolean argument to specify whether a recent cached value will do, or if the very latest total must be fetched. It can be called thousands of times a second and fetching th
uvm_availmem(): give it a boolean argument to specify whether a recent cached value will do, or if the very latest total must be fetched. It can be called thousands of times a second and fetching the totals impacts not only the calling LWP but other CPUs doing unrelated activity in the VM system.
show more ...
|
#
5c06357c |
| 31-Dec-2019 |
ad <ad@NetBSD.org> |
Rename uvm_free() -> uvm_availmem().
|
#
ddd3a0be |
| 21-Dec-2019 |
ad <ad@NetBSD.org> |
uvmexp.free -> uvm_free()
|
#
7b3e6945 |
| 13-Jul-2019 |
maxv <maxv@NetBSD.org> |
Remove the roundups, they are incorrect and cause memcmp to wrongfully fail because of uninitialized bytes at the end of the buffers.
ok rmind@
|
#
a321adb5 |
| 22-Aug-2016 |
skrll <skrll@NetBSD.org> |
Two fixes from rmind
- tmpfs_node_get: restore (decrement) the node count on the error path. - tmpfs_bytes_max: save the value of uvmexp.freetarg (since it is unlocked/racy).
|
#
a98adcf8 |
| 13-Jun-2014 |
pooka <pooka@NetBSD.org> |
use psize_t for physical memory calculation
|
#
269c7046 |
| 10-Jun-2014 |
martin <martin@NetBSD.org> |
Make sure to expand "freepages" to 64bit before shifting to byte values - on rump we may have all our virtual address space "free". Pointed out by pooka@.
|
#
c7dd06b6 |
| 07-Jun-2014 |
martin <martin@NetBSD.org> |
Remove the hardcoded 4 MB free kernel memory limit and replace it by uvmexp.freetarg, as discussed on tech-kern. Main purpose is to make tmpfs usable (as far as possible) on small memory machines. Th
Remove the hardcoded 4 MB free kernel memory limit and replace it by uvmexp.freetarg, as discussed on tech-kern. Main purpose is to make tmpfs usable (as far as possible) on small memory machines. This is a bit experimental, but we need to give it some real world exposure to see how well it works.
show more ...
|
#
0172bc97 |
| 30-Apr-2014 |
christos <christos@NetBSD.org> |
handle MNT_UPDATE
|
#
7384069a |
| 24-May-2011 |
rmind <rmind@NetBSD.org> |
- tmpfs_alloc_node/tmpfs_free_node: move inode limiting into tmpfs_node_get() and tmpfs_node_put(), update outdated/wrong comments and move/add asserts. - tmpfs_mount: check for the version of argu
- tmpfs_alloc_node/tmpfs_free_node: move inode limiting into tmpfs_node_get() and tmpfs_node_put(), update outdated/wrong comments and move/add asserts. - tmpfs_mount: check for the version of arguments a bit earlier.
show more ...
|
#
7d4d81a3 |
| 19-May-2011 |
rmind <rmind@NetBSD.org> |
- tmpfs: do not create dirent/node pools per-mount, there is no need to. - tmpfs_mount: fix a leak of mount structures in error path.
|
#
55946471 |
| 28-Jun-2010 |
rmind <rmind@NetBSD.org> |
tmpfs_bytes_max: use MIN() rather than min(), which returns int. Spotted by Wolfgang Solfrank.
|
#
fc8b3b71 |
| 22-Jun-2010 |
rmind <rmind@NetBSD.org> |
Replace tmpfs_pool custom allocator code with a simpler layer for memory accounting. Use wired memory (which can be limited) for meta-data, and kmem(9) for string allocations.
Close PR/31944. Fix
Replace tmpfs_pool custom allocator code with a simpler layer for memory accounting. Use wired memory (which can be limited) for meta-data, and kmem(9) for string allocations.
Close PR/31944. Fix PR/38361 while here. OK ad@.
show more ...
|