lkml.org 
[lkml]   [2011]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 11/11] mm: memcg: remove unused node/section info from pc->flags
On Mon, 12 Sep 2011 12:57:28 +0200
Johannes Weiner <jweiner@redhat.com> wrote:

> To find the page corresponding to a certain page_cgroup, the pc->flags
> encoded the node or section ID with the base array to compare the pc
> pointer to.
>
> Now that the per-memory cgroup LRU lists link page descriptors
> directly, there is no longer any code that knows the page_cgroup but
> not the page.
>
> Signed-off-by: Johannes Weiner <jweiner@redhat.com>

Ah, ok. remove init code and use zalloc()

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>




\
 
 \ /
  Last update: 2011-09-13 12:53    [W:0.361 / U:43.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site