Re: [PATCH] exit: fix misleading comment in forget_original_parent()
From: Oleg Nesterov
Date: Sat Jun 14 2025 - 23:58:24 EST
On 06/15, Fushuai Wang wrote:
>
> The commit 482a3767e508 ("exit: reparent: call forget_original_parent()
> under tasklist_lock") moved the comment from exit_notify() to
> forget_original_parent(). However, the forget_original_parent() only
> handles (A), while (B) is handled in kill_orphaned_pgrp(). So remove
> the unrelated part.
>
> Signed-off-by: Fushuai Wang <wangfushuai@xxxxxxxxx>
Acked-by: Oleg Nesterov <oleg@xxxxxxxxxx>