diff options
author | Ian Moffett <ian@osmora.org> | 2024-11-13 22:47:11 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-11-13 22:47:11 -0500 |
commit | dd9aad47f87b7043d3c0bf3fed80a25fdf188a23 (patch) | |
tree | 7181649ee67cf4075b9bfa7660aa46846b6f008e /sys/include/vm/pmap.h | |
parent | fa8c57777ca97b94c2cf9b17fcb6941668255320 (diff) |
kernel: vfs: Recycle vnodes before allocating
This commit makes changes to how vnodes are allocated and released. When
we want to allocate a new vnode, we check if there is something we can
recycle before calling dynalloc(). Instead of calling dynfree() on a
vnode, enter it into the vnode cache.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/pmap.h')
0 files changed, 0 insertions, 0 deletions