diff options
author | Igor Mammedov <imammedo@redhat.com> | 2011-11-03 00:38:21 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 03:07:00 +0400 |
commit | 0a619e58703b86d53d07e938eade9a91a4a863c6 (patch) | |
tree | 0579cebdbdbb90507db04b320acb4191f8a86f2e /fs/partitions/ibm.h | |
parent | 715a5ee82ab3c07430f748630044354132add5ad (diff) | |
download | linux-0a619e58703b86d53d07e938eade9a91a4a863c6.tar.xz |
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 <imammedo@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/partitions/ibm.h')
0 files changed, 0 insertions, 0 deletions