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


Groups > linux.kernel > #1239840

Re: pids controller fails to track zombie processes

From Aleksa Sarai <cyphar@cyphar.com>
Newsgroups linux.kernel
Subject Re: pids controller fails to track zombie processes
Date 2015-10-05 20:50 +0200
Message-ID <qgiZI-7ez-25@gated-at.bofh.it> (permalink)
References <qgin0-6vn-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web