mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pids controller fails to track zombie processes
@ 2015-10-05 18:09 Tejun Heo
  2015-10-05 18:42 ` Aleksa Sarai
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2015-10-05 18:09 UTC (permalink / raw)
  To: Aleksa Sarai; +Cc: cgroups, linux-kernel

Hello, Aleksa.

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.  I can't think of a good solution
right now.  I'll write again when I know more.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pids controller fails to track zombie processes
  2015-10-05 18:09 pids controller fails to track zombie processes Tejun Heo
@ 2015-10-05 18:42 ` Aleksa Sarai
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksa Sarai @ 2015-10-05 18:42 UTC (permalink / raw)
  To: Tejun Heo; +Cc: cgroups, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-05 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 18:09 pids controller fails to track zombie processes Tejun Heo
2015-10-05 18:42 ` Aleksa Sarai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®