Thread (65 messages) 65 messages, 4 authors, 2011-09-29

Re: [patch 11/11] mm: memcg: remove unused node/section info from pc->flags

From: KAMEZAWA Hiroyuki <hidden>
Date: 2011-09-13 10:51:21
Also in: lkml

On Mon, 12 Sep 2011 12:57:28 +0200
Johannes Weiner [off-list ref] 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 <redacted>
Ah, ok. remove init code and use zalloc()

Reviewed-by: KAMEZAWA Hiroyuki <redacted>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help