Dan Carpenter d2e61b8dc9 memcg: null dereference on allocation failure
The original code had a null dereference if alloc_percpu() failed.  This
was introduced in commit 711d3d2c9bc3 ("memcg: cpu hotplug aware percpu
count updates")

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-12 07:55:31 -08:00
..
2009-04-01 08:59:13 -07:00
2010-08-08 21:57:23 +01:00
2010-10-04 11:09:53 -07:00
2010-10-28 10:04:30 -07:00
2009-09-22 07:17:35 -07:00
2010-05-25 08:06:58 -07:00
2010-09-09 09:05:06 -07:00
2010-10-30 08:45:43 -04:00
2010-03-24 16:31:21 -07:00
2010-10-26 16:52:08 -07:00
2010-05-21 18:31:21 -04:00
2010-10-30 08:45:43 -04:00
2007-10-20 01:27:18 +02:00
2010-05-25 08:07:00 -07:00
2010-10-26 16:52:10 -07:00
2010-10-29 04:16:31 -04:00
2010-10-06 21:16:42 +03:00
2010-10-27 18:03:17 -07:00
2010-10-26 16:52:11 -07:00
2009-06-23 12:50:05 -07:00
2010-10-24 10:51:24 +02:00