percpu: free percpu allocation info for uniprocessor system
authorHonggang Li <enjoymindful@gmail.com>
Tue, 12 Aug 2014 13:36:15 +0000 (21:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:52:20 +0000 (14:52 -0700)
commitb25d2579bfd58c46fe23452d32cdd8943041cb77
treee6490d1b478005e326eb63f638c7f6269cdc70d1
parent41722f462d7adb0f330454e96bca2bf43c87cfa3
percpu: free percpu allocation info for uniprocessor system

commit 3189eddbcafcc4d827f7f19facbeddec4424eba8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/percpu.c