From: Tejun Heo Subject: [GIT UPDATED PULL] cgroup fixes for v3.17-rc6 Date: Tue, 23 Sep 2014 09:10:20 -0400 Message-ID: <20140923131020.GB14905@mtj.dyndns.org> References: <20140923063353.GK11740@mtj.dyndns.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=M50apc5eRozHWCMNvUzzurUUQObwQGo4T5xP5PqRdXw=; b=FlkqZI6UkkBExOTHU+LrGOIqAOjHoaAWcH2xHLY+ExicXkBvqheBuoVSpobpAWmVf2 7wqL9JDKoYF6RT79EaiezdGgDuOH/MzbNAsRtbtMIpCE+uHH1SnDTlzpMe7TzWW2s+p7 mOam8fud5JraYluXacWyDt1SeRgWoyId7V9O3nvjUTjfXxZoIvCMfrzi/iqiNjHFc0HH 58+wibxMP2jlWigndJuBXuM0s7TRgNsofJOi617vi8kUi0dJf23TvA2BkU6r1hwCCZsn 2ns7swpuwc7PEhZ7ZIMSLcS+xkOdvsVl1jH5ZsBp9uIR5ED4f9Kk1Cbcrzz7vBRrDWOl ZoPQ== Content-Disposition: inline In-Reply-To: <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linus Torvalds Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Hello, Linus. One late fix for cgroup. I was waiting for another set of fixes for a long-standing obscure cpuset bug but am not sure whether they'll be ready before v3.17 release. This one is a simple fix for a mutex unlock balance bug in an allocation failure path in pidlist_array_load(). The bug was introduced in v3.14 and the fix is tagged for -stable. Thanks. The following changes since commit aa32362f011c6e863132b16c1761487166a4bad2: cgroup: check cgroup liveliness before unbreaking kernfs (2014-09-05 01:36:19 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.17-fixes for you to fetch changes up to eb4aec84d6bdf98d00cedb41c18000f7a31e648a: cgroup: fix unbalanced locking (2014-09-18 12:32:52 -0400) ---------------------------------------------------------------- Zefan Li (1): cgroup: fix unbalanced locking kernel/cgroup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 940aced..3a73f99 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -3985,7 +3985,6 @@ static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, l = cgroup_pidlist_find_create(cgrp, type); if (!l) { - mutex_unlock(&cgrp->pidlist_mutex); pidlist_free(array); return -ENOMEM; } -- tejun