Thread (8 messages) 8 messages, 4 authors, 2016-03-01

Re: [PATCH 2/2] cgroup: reset css on destruction

From: Tejun Heo <tj@kernel.org>
Date: 2016-03-01 16:30:25
Also in: linux-mm, lkml

On Tue, Mar 01, 2016 at 02:13:13PM +0300, Vladimir Davydov wrote:
quoted hunk ↗ jump to hunk
@@ -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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help