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/kern/kern_exit.c | |
parent | fa8c57777ca97b94c2cf9b17fcb6941668255320 (diff) |
kernel: vfs: Recycle vnodes before allocatingexpt
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/kern/kern_exit.c')
0 files changed, 0 insertions, 0 deletions