]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: stop leaking bitmap metadata blocks
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Sun, 7 Oct 2018 08:31:51 +0000 (11:31 +0300)
committerDennis Zhou <dennis@kernel.org>
Sun, 7 Oct 2018 21:50:12 +0000 (14:50 -0700)
commitcd678d4e86199d3b409d1d083848f44cd4218f73
tree0e8f6b92d206913d9d666706df9479dec9e1bd23
parente4c85abf576d2ba32bcd571a0c907949023afdc4
percpu: stop leaking bitmap metadata blocks

The commit b1e888d24cb5 ("percpu: introduce bitmap metadata blocks")
introduced bitmap metadata blocks. These metadata blocks are allocated
whenever a new chunk is created, but they are never freed. Fix it.

Fixes: b1e888d24cb5 ("percpu: introduce bitmap metadata blocks")
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dennis Zhou <dennis@kernel.org>
mm/percpu.c