]> Git Repo - linux.git/commit
memcg: do not expose uninitialized mem_cgroup_per_node to world
authorIgor Mammedov <[email protected]>
Wed, 2 Nov 2011 20:38:21 +0000 (13:38 -0700)
committerLinus Torvalds <[email protected]>
Wed, 2 Nov 2011 23:07:00 +0000 (16:07 -0700)
commit0a619e58703b86d53d07e938eade9a91a4a863c6
tree0579cebdbdbb90507db04b320acb4191f8a86f2e
parent715a5ee82ab3c07430f748630044354132add5ad
memcg: do not expose uninitialized mem_cgroup_per_node to world

If somebody is touching data too early, it might be easier to diagnose a
problem when dereferencing NULL at mem->info.nodeinfo[node] than trying to
understand why mem_cgroup_per_zone is [un|partly]initialized.

Signed-off-by: Igor Mammedov <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.051313 seconds and 4 git commands to generate.