login
Header Space

 
 

Re: [RFC][2/3] Account and control virtual address space allocations (v2)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <balbir@...>
Cc: Andrew Morton <akpm@...>, Hugh Dickins <hugh@...>, Sudhir Kumar <skumar@...>, YAMAMOTO Takashi <yamamoto@...>, Paul Menage <menage@...>, <lizf@...>, <linux-kernel@...>, <taka@...>, <linux-mm@...>, David Rientjes <rientjes@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Date: Thursday, March 27, 2008 - 4:24 am

Balbir Singh wrote:

But this is racy! Look - you do expand_stack on two CPUs and the limit is
almost reached - so that there's room for a single expansion. In this case 
may_expand_vm will return true for both, since it only checks the limit, 
while the subsequent charge will fail on one of them, since it actually 
tries to raise the usage...


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

Messages in current thread:
Re: [RFC][0/3] Virtual address space control for cgroups (v2), KAMEZAWA Hiroyuki, (Thu Mar 27, 6:03 am)
Re: [RFC][2/3] Account and control virtual address space all..., Pavel Emelyanov, (Thu Mar 27, 4:24 am)
Re: [RFC][1/3] Add user interface for virtual address space ..., KAMEZAWA Hiroyuki, (Thu Mar 27, 5:14 am)
speck-geostationary