From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754298AbdEQTYC (ORCPT ); Wed, 17 May 2017 15:24:02 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:33356 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbdEQTX7 (ORCPT ); Wed, 17 May 2017 15:23:59 -0400 Date: Wed, 17 May 2017 15:23:57 -0400 From: Tejun Heo To: Waiman Long Cc: Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, efault@gmx.de Subject: Re: [RFC PATCH v2 07/17] cgroup: Prevent kill_css() from being called more than once Message-ID: <20170517192357.GC942@htj.duckdns.org> References: <1494855256-12558-1-git-send-email-longman@redhat.com> <1494855256-12558-8-git-send-email-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1494855256-12558-8-git-send-email-longman@redhat.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, May 15, 2017 at 09:34:06AM -0400, Waiman Long wrote: > The kill_css() function may be called more than once under the condition > that the css was killed but not physically removed yet followed by the > removal of the cgroup that is hosting the css. This patch prevents any > harmm from being done when that happens. > > Signed-off-by: Waiman Long So, this is a bug fix which isn't really related to this patchset. I'm applying it to cgroup/for-4.12-fixes w/ stable cc'd. Thanks. -- tejun