[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160301163018.GE3965@htj.duckdns.org>
Date: Tue, 1 Mar 2016 11:30:18 -0500
From: Tejun Heo <tj@...nel.org>
To: Vladimir Davydov <vdavydov@...tuozzo.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] cgroup: reset css on destruction
On Tue, Mar 01, 2016 at 02:13:13PM +0300, Vladimir Davydov wrote:
> @@ -5138,6 +5138,8 @@ static void kill_css(struct cgroup_subsys_state *css)
> * See seq_css() for details.
> */
> css_clear_dir(css, NULL);
> + if (css->ss->css_reset)
> + css->ss->css_reset(css);
I think the better spot for this is in offline_css() right before
->css_offline() is called.
Thanks.
--
tejun
Powered by blists - more mailing lists