lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 6 Oct 2008 13:12:23 +0530
FromBalbir Singh <>
SubjectRe: [PATCH 1/6] atomic page_cgroup flags
* KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2008-10-01 16:55:13]:

> This patch makes page_cgroup->flags to be atomic_ops and define
> functions (and macros) to access it.> > Before trying to modify memory resource controller, this atomic operation
> on flags is necessary. Most of flags in this patch is for LRU and modfied
> under mz->lru_lock but we'll add another flags which is not for LRU soon.
> (lock_page_cgroup() will use LOCK bit on page_cgroup->flags)
> So we use atomic version here.>

Seems quite straightforward

Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> 
-- 
	Balbir


\
 
 \ /
  Last update: 2008-10-06 09:45    [from the cache]
©2003-2008