proc: free pages and fds after proc termination

This commit is contained in:
Michael Shaw 2023-11-22 21:55:52 -05:00
commit aac47e60f3
6 changed files with 38 additions and 24 deletions

View file

@ -31,11 +31,12 @@ struct rbtree {
struct rbnode *rbt_insert(struct rbtree *tree, uint64_t key);
void rbt_delete(struct rbtree *tree, struct rbnode *del);
void rbt_destroy(struct rbtree *tree);
struct rbnode *rbt_search(struct rbtree *tree, uint64_t key);
struct rbnode *rbt_successor(struct rbnode *node);
uint64_t rbt_next_key(struct rbtree *tree);
struct rbnode *rbt_range_val2(struct rbtree *tree, uint64_t sval, uint64_t len);
struct rbnode *rbt_minimum(struct rbnode *node);
void rbt_slab_init();