Re: [PATCH] exec: do not call sched_mm_cid_after_execve() on exec fail

From: Mathieu Desnoyers
Date: Wed Dec 24 2025 - 09:41:44 EST


On 2025-12-24 07:10, Jinchao Wang wrote:
On Thu, Dec 18, 2025 at 11:23:23AM +0800, Jinchao Wang wrote:

Hi, mathieu

Please review this patch for mm_cid.

Nack. Your fix lacks context and removes a needed call in the
common case to fix what I understand to be a init task issue.

See this patch instead which addresses an issue very similar to
yours removing the relevant sched_mm_cid_after_exec() call:

https://lore.kernel.org/lkml/20251223215113.639686-1-xiyou.wangcong@xxxxxxxxx/

I added Thomas Gleixner in CC.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com