Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239814 > unrolled thread

pids controller fails to track zombie processes

Started byTejun Heo <tj@kernel.org>
First post2015-10-05 20:10 +0200
Last post2015-10-05 20:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  pids controller fails to track zombie processes Tejun Heo <tj@kernel.org> - 2015-10-05 20:10 +0200
    Re: pids controller fails to track zombie processes Aleksa Sarai <cyphar@cyphar.com> - 2015-10-05 20:50 +0200

#1239814 — pids controller fails to track zombie processes

FromTejun Heo <tj@kernel.org>
Date2015-10-05 20:10 +0200
Subjectpids controller fails to track zombie processes
Message-ID<qgin0-6vn-23@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1239840

FromAleksa Sarai <cyphar@cyphar.com>
Date2015-10-05 20:50 +0200
Message-ID<qgiZI-7ez-25@gated-at.bofh.it>
In reply to#1239814
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web