Re: pids controller fails to track zombie processes

From: Aleksa Sarai
Date: Mon Oct 05 2015 - 14:42:58 EST


Hi Tejun,

> I noticed that the pids controller is uncharging from the task exit
> path; however, this isn't correct as zombie processes can linger on
> way after exit while holding pids.

Maybe try adding a callback on the wait() path and remove the exit()
callbacks for the controller? But I'm not sure if that's safe (can we
even call task_get_css() on a task that's being waited on?).

--
Aleksa Sarai (cyphar)
www.cyphar.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/