Re: [PATCH] memcg: update documentation v5

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Tuesday, April 13, 2010 - 8:16 am

On Tue, Apr 13, 2010 at 08:38:43PM +0530, Balbir Singh wrote:

Thanks Balbir. So basically idea is that page_cgroup_lock() does not
disable interrupts hence can be interrupted. So don't do
lock_page_cgroup() in interrupt context at all otherwise it can lead to
various kind of deadlock scenarios.

One of those scenarios is lock_page_cgroup() under mapping->tree_lock.

That helps. Thanks

Vivek

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] memcg: update documentation v3, KAMEZAWA Hiroyuki, (Wed Apr 7, 10:58 pm)
Re: [PATCH] memcg: update documentation v3, Randy Dunlap, (Thu Apr 8, 10:32 am)
Re: [PATCH] memcg: update documentation v3, KAMEZAWA Hiroyuki, (Thu Apr 8, 4:50 pm)
Re: [PATCH] memcg: update documentation v3, Daisuke Nishimura, (Thu Apr 8, 6:26 pm)
Re: [PATCH] memcg: update documentation v3, KAMEZAWA Hiroyuki, (Thu Apr 8, 6:45 pm)
Re: [PATCH] memcg: update documentation v3, Daisuke Nishimura, (Thu Apr 8, 7:11 pm)
Re: [PATCH] memcg: update documentation v3, KAMEZAWA Hiroyuki, (Thu Apr 8, 8:01 pm)
[PATCH] memcg: update documentation v4, KAMEZAWA Hiroyuki, (Thu Apr 8, 9:45 pm)
Re: [PATCH] memcg: update documentation v4, Daisuke Nishimura, (Thu Apr 8, 10:50 pm)
Re: [PATCH] memcg: update documentation v4, Randy Dunlap, (Fri Apr 9, 10:04 am)
[PATCH] memcg: update documentation v5, KAMEZAWA Hiroyuki, (Mon Apr 12, 9:45 pm)
Re: [PATCH] memcg: update documentation v5, Balbir Singh, (Mon Apr 12, 11:04 pm)
Re: [PATCH] memcg: update documentation v5, KAMEZAWA Hiroyuki, (Mon Apr 12, 11:20 pm)
Re: [PATCH] memcg: update documentation v5, Balbir Singh, (Mon Apr 12, 11:48 pm)
[PATCH] memcg: update documentation v6, KAMEZAWA Hiroyuki, (Mon Apr 12, 11:58 pm)
Re: [PATCH] memcg: update documentation v5, Vivek Goyal, (Tue Apr 13, 6:57 am)
Re: [PATCH] memcg: update documentation v5, Vivek Goyal, (Tue Apr 13, 7:03 am)
Re: [PATCH] memcg: update documentation v5, Balbir Singh, (Tue Apr 13, 8:08 am)
Re: [PATCH] memcg: update documentation v5, Vivek Goyal, (Tue Apr 13, 8:16 am)
Re: [PATCH] memcg: update documentation v6, Randy Dunlap, (Tue Apr 13, 8:54 am)
[PATCH] memcg: update documentation v7, KAMEZAWA Hiroyuki, (Tue Apr 13, 6:22 pm)
Re: [PATCH] memcg: update documentation v7, Randy Dunlap, (Wed Apr 14, 11:11 am)
[PATCH] memcg: update documentation v8, KAMEZAWA Hiroyuki, (Wed Apr 14, 5:34 pm)
Re: [PATCH] memcg: update documentation v8, Randy Dunlap, (Thu Apr 15, 8:48 am)