]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: free percpu allocation info for uniprocessor system
authorHonggang Li <enjoymindful@gmail.com>
Tue, 12 Aug 2014 13:36:15 +0000 (21:36 +0800)
committerTejun Heo <tj@kernel.org>
Sat, 16 Aug 2014 12:59:02 +0000 (08:59 -0400)
commit23e5047a605d85e8df6bb840676a42391aa4a066
tree0cb121567f2368d356f9b8900d852399aba6b842
parente12703cebcc60e372b24551aea73003d4c0cf113
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