diff options
author | dzwdz | 2022-05-02 18:58:57 +0200 |
---|---|---|
committer | dzwdz | 2022-05-02 18:58:57 +0200 |
commit | c38fa859a6fb3e9fce736ead57ee776fe433a0d0 (patch) | |
tree | 59dca00c7e9112b53c5ade9e7114d858b5dcaa7a /src/kernel/proc.c | |
parent | 8513ae3c3e83ec8835bc0d1355284a9ddd928693 (diff) |
kernel/vfs: always separately allocate the request object
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index 39f9e1f..838d520 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -288,6 +288,8 @@ void process_kill(struct process *p, int ret) { * * we also reparent it to process_deadparent because we don't want * dead processes to have any alive children */ + /* TODO: because requests are no longer owned by the parent, we can safely kill it. + * this whole deathbed thing (and, by extension, freeing after killing) is unnecessary */ // TODO process_reparent? p->deathbed = true; process_forget(p); |