On Thu, 24 Apr 2025 13:42:16 -0400 Mathieu Desnoyers <[email protected]> wrote:
> The case I'd be careful about is if the code can nest over exit_mm() > (e.g. interrupt) after it sets current->mm = NULL. Then probably we should always check if current->mm is non-NULL before using it then, and not rely on just task->flags. -- Steve
