* [GIT PULL] cgroup fixes for v3.17-rc6
@ 2014-09-23 6:33 Tejun Heo
[not found] ` <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Tejun Heo @ 2014-09-23 6:33 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
lizefan-hv44wF8Li93QT0dZR+AlfA, cgroups-u79uwXL29TY76Z2rM5mHXA
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, which is detected by coccinelle and probably won't
trigger in the wild, introduced during this devel cycle.
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
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org>]
* Re: [GIT PULL] cgroup fixes for v3.17-rc6 [not found] ` <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org> @ 2014-09-23 6:45 ` Zefan Li [not found] ` <54211707.8090604-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> 2014-09-23 13:10 ` [GIT UPDATED " Tejun Heo 1 sibling, 1 reply; 4+ messages in thread From: Zefan Li @ 2014-09-23 6:45 UTC (permalink / raw) To: Tejun Heo Cc: Linus Torvalds, linux-kernel-u79uwXL29TY76Z2rM5mHXA, cgroups-u79uwXL29TY76Z2rM5mHXA On 2014/9/23 14:33, Tejun Heo wrote: > 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, which is detected by coccinelle and probably won't > trigger in the wild, introduced during this devel cycle. > It was introduced in 3.14, and it was detected by my eyes, not coccinelle. ;) ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <54211707.8090604-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>]
* Re: [GIT PULL] cgroup fixes for v3.17-rc6 [not found] ` <54211707.8090604-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> @ 2014-09-23 13:05 ` Tejun Heo 0 siblings, 0 replies; 4+ messages in thread From: Tejun Heo @ 2014-09-23 13:05 UTC (permalink / raw) To: Zefan Li Cc: Linus Torvalds, linux-kernel-u79uwXL29TY76Z2rM5mHXA, cgroups-u79uwXL29TY76Z2rM5mHXA On Tue, Sep 23, 2014 at 02:45:27PM +0800, Zefan Li wrote: > On 2014/9/23 14:33, Tejun Heo wrote: > > 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, which is detected by coccinelle and probably won't > > trigger in the wild, introduced during this devel cycle. > > > > It was introduced in 3.14, and it was detected by my eyes, not coccinelle. ;) Hah, I got it completely mixed up with another patch in my head. Will post an updated pull request. My apologies. Thanks. -- tejun ^ permalink raw reply [flat|nested] 4+ messages in thread
* [GIT UPDATED PULL] cgroup fixes for v3.17-rc6 [not found] ` <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org> 2014-09-23 6:45 ` Zefan Li @ 2014-09-23 13:10 ` Tejun Heo 1 sibling, 0 replies; 4+ messages in thread From: Tejun Heo @ 2014-09-23 13:10 UTC (permalink / raw) To: Linus Torvalds Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, lizefan-hv44wF8Li93QT0dZR+AlfA, cgroups-u79uwXL29TY76Z2rM5mHXA 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-23 13:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 6:33 [GIT PULL] cgroup fixes for v3.17-rc6 Tejun Heo
[not found] ` <20140923063353.GK11740-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2014-09-23 6:45 ` Zefan Li
[not found] ` <54211707.8090604-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-09-23 13:05 ` Tejun Heo
2014-09-23 13:10 ` [GIT UPDATED " Tejun Heo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).