percpu: free percpu allocation info for uniprocessor system
commit3189eddbcafcc4d827f7f19facbeddec4424eba8
authorHonggang Li <enjoymindful@gmail.com>
Tue, 12 Aug 2014 13:36:15 +0000 (12 21:36 +0800)
committerTejun Heo <tj@kernel.org>
Sat, 16 Aug 2014 12:59:02 +0000 (16 08:59 -0400)
tree0cb121567f2368d356f9b8900d852399aba6b842
parent849f5169097e1ba35b90ac9df76b5bb6f9c0aabd
percpu: free percpu allocation info for uniprocessor system

Currently, only SMP system free the percpu allocation info.
Uniprocessor system should free it too. For example, one x86 UML
virtual machine with 256MB memory, UML kernel wastes one page memory.

Signed-off-by: Honggang Li <enjoymindful@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
mm/percpu.c