aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/src/unistd/read.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-11-13 22:47:11 -0500
committerIan Moffett <ian@osmora.org>2024-11-13 22:47:11 -0500
commitdd9aad47f87b7043d3c0bf3fed80a25fdf188a23 (patch)
tree7181649ee67cf4075b9bfa7660aa46846b6f008e /lib/libc/src/unistd/read.c
parentfa8c57777ca97b94c2cf9b17fcb6941668255320 (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 'lib/libc/src/unistd/read.c')
0 files changed, 0 insertions, 0 deletions