summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-02-17 22:53:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-02 11:34:00 +0100
commitf701f2a037778546984e5cf3c09fbd95522490a2 (patch)
tree60c8a9a2a551dd81e9b0e40dce40be9bcb6341de /Documentation
parent8a89dcfb91af2432cdcd29f6649650073b0419bc (diff)
downloadlinux-stable-f701f2a037778546984e5cf3c09fbd95522490a2.tar.gz
linux-stable-f701f2a037778546984e5cf3c09fbd95522490a2.tar.bz2
linux-stable-f701f2a037778546984e5cf3c09fbd95522490a2.zip
memblock: use kfree() to release kmalloced memblock regions
commit c94afc46cae7ad41b2ad6a99368147879f4b0e56 upstream. memblock.{reserved,memory}.regions may be allocated using kmalloc() in memblock_double_array(). Use kfree() to release these kmalloced regions indicated by memblock_{reserved,memory}_in_slab. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Fixes: 3010f876500f ("mm: discard memblock data later") Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions