commit | 438a50618095061920d3a30d4c5ca1ef2e0ff860 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nicolas.pitre@linaro.org> | Tue Oct 03 18:29:49 2017 -0400 |
committer | Tejun Heo <tj@kernel.org> | Wed Oct 04 06:53:32 2017 -0700 |
tree | 71fd9e344473b605be6c9eac1cc6dab957dca3d2 | |
parent | d81fa669e3de7eb8a631d7d95dac5fbcb2bf9d4e [diff] |
percpu: don't forget to free the temporary struct pcpu_alloc_info Unlike the SMP case, the !SMP case does not free the memory for struct pcpu_alloc_info allocated in setup_per_cpu_areas(). And to give it a chance of being reused by the page allocator later, align it to a page boundary just like its size. Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Dennis Zhou <dennisszhou@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>