Jianyu Zhan
5a838c3b60
percpu: make pcpu_alloc_chunk() use pcpu_mem_free() instead of kfree()
...
pcpu_chunk_struct_size = sizeof(struct pcpu_chunk) +
BITS_TO_LONGS(pcpu_unit_pages) * sizeof(unsigned long)
It hardly could be ever bigger than PAGE_SIZE even for large-scale machine,
but for consistency with its couterpart pcpu_mem_zalloc(),
use pcpu_mem_free() instead.
Commit b4916cb17c26 ("percpu: make pcpu_free_chunk() use
pcpu_mem_free() instead of kfree()") addressed this problem, but
missed this one.
tj: commit message updated
Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 099a19d91ca4 ("percpu: allow limited allocation before slab is online)
Cc: stable@vger.kernel.org
2014-04-14 16:18:06 -04:00
..
2014-04-03 16:20:49 -07:00
2014-01-23 16:36:50 -08:00
2013-11-13 12:09:09 +09:00
2013-11-23 22:33:49 -08:00
2014-01-23 16:36:50 -08:00
2014-04-07 16:35:55 -07:00
2011-12-06 09:24:07 +01:00
2012-12-11 17:22:24 -08:00
2014-04-07 16:36:15 -07:00
2013-03-03 22:46:22 -05:00
2012-01-03 22:54:56 -05:00
2013-11-06 12:40:26 +01:00
2014-04-12 14:49:50 -07:00
2014-03-19 16:21:49 -07:00
2013-06-12 16:29:46 -07:00
2012-12-20 08:37:05 -08:00
2014-04-07 16:35:57 -07:00
2014-03-19 10:23:54 -04:00
2014-04-07 16:35:58 -07:00
2014-01-21 16:19:48 -08:00
2011-07-26 16:49:47 -07:00
2014-04-07 16:35:58 -07:00
2012-10-09 16:22:42 +09:00
2014-04-01 23:19:30 -04:00
2014-04-07 16:36:15 -07:00
2012-01-10 16:30:42 -08:00
2011-01-27 18:31:51 +00:00
2014-04-03 16:20:50 -07:00
2014-03-04 07:55:47 -08:00
2014-04-03 16:21:01 -07:00
2011-10-31 09:20:12 -04:00
2013-09-30 14:31:02 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:58 -07:00
2014-04-07 16:36:13 -07:00
2014-01-23 16:36:52 -08:00
2014-04-03 13:05:42 -07:00
2014-04-07 16:35:57 -07:00
2014-04-07 16:35:54 -07:00
2014-04-07 16:35:55 -07:00
2014-03-20 22:09:09 -07:00
2014-04-03 16:21:00 -07:00
2014-04-07 16:35:57 -07:00
2014-01-27 21:02:39 -08:00
2014-04-07 16:35:53 -07:00
2014-02-21 08:50:17 +01:00
2014-01-23 16:36:52 -08:00
2013-10-09 14:47:45 +02:00
2014-04-07 16:35:50 -07:00
2013-10-16 21:35:53 -07:00
2014-04-03 16:21:02 -07:00
2014-04-07 16:35:55 -07:00
2014-01-30 16:56:56 -08:00
2014-04-07 16:35:59 -07:00
2014-04-03 16:21:02 -07:00
2014-01-30 11:19:05 -08:00
2013-09-11 15:57:48 -07:00
2014-04-07 16:35:57 -07:00
2013-10-30 14:27:03 -07:00
2012-06-20 14:39:36 -07:00
2014-04-14 16:18:06 -04:00
2013-12-18 19:04:51 -08:00
2014-04-12 14:49:50 -07:00
2011-10-31 09:20:11 -04:00
2014-04-07 16:35:58 -07:00
2014-04-07 16:35:57 -07:00
2014-04-13 14:10:26 -07:00
2014-04-07 16:36:13 -07:00
2014-04-13 13:28:13 -07:00
2014-04-07 16:36:12 -07:00
2014-04-11 10:06:06 +03:00
2014-04-13 13:28:13 -07:00
2014-01-21 16:19:47 -08:00
2014-04-07 16:35:54 -07:00
2014-02-06 13:48:51 -08:00
2014-04-03 16:21:01 -07:00
2014-02-06 13:48:51 -08:00
2014-04-03 16:21:01 -07:00
2014-04-12 12:38:53 -07:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:35:55 -07:00
2014-02-03 13:24:01 -05:00
2014-04-08 16:48:51 -07:00
2014-04-07 14:55:46 -07:00
2014-04-03 16:21:01 -07:00
2013-09-11 15:57:35 -07:00
2014-03-20 13:43:45 +01:00
2014-04-07 16:38:06 -07:00