lkml.org 
[lkml]   [2008]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][mm] [PATCH 3/4] Memory cgroup hierarchical reclaim (v3)
On Tue, 11 Nov 2008 18:04:17 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> +
> + /*
> + * We need to give up the cgroup lock if it is held, since
> + * it creates the potential for deadlock. cgroup_mutex should
> + * be acquired after cpu_hotplug lock. In this path, we
> + * acquire the cpu_hotplug lock after acquiring the cgroup_mutex
> + * Giving it up should be OK
> + */
> + if (cgroup_locked)
> + cgroup_unlock();

nice catch. I'll post a fix to this as its own patch.

Thanks,
-Kame




\
 
 \ /
  Last update: 2008-11-12 04:55    [W:0.103 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site