Re: Race condition between putback_lru_page and mem_cgroup_move_list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lee Schermerhorn
Date: Thursday, August 7, 2008 - 4:27 am

On Thu, 2008-08-07 at 20:00 +0900, KOSAKI Motohiro wrote:

Ah, I see what you mean.  Yes, the mem cgroup zone lru_lock will be
cycled frequently as each back of pages is put back during reclaim.  So,
you'd like to eliminate the mz lru_lock, move the mem cgroup zone info
under the corresponding zone lru_lock and move the page between memcg
lists atomically with adding to global lru lists?  

Lee

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

Messages in current thread:
Re: Race condition between putback_lru_page and mem_cgroup ..., Lee Schermerhorn, (Thu Aug 7, 4:27 am)