diff options
author | David Hildenbrand <david@redhat.com> | 2018-05-26 00:48:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-30 08:51:49 +0300 |
commit | b052960484fd40d6144a78773313c17154443177 (patch) | |
tree | 59bb236ad114f4eda75d1cd37377308ac05435e4 /.get_maintainer.ignore | |
parent | 9c7821c67a71884d338639ec00dc8f8519705214 (diff) | |
download | linux-b052960484fd40d6144a78773313c17154443177.tar.xz |
kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
commit ed1596f9ab958dd156a66c9ff1029d3761c1786a upstream.
We have to free memory again when we cancel onlining, otherwise a later
onlining attempt will fail.
Link: http://lkml.kernel.org/r/20180522100756.18478-2-david@redhat.com
Fixes: fa69b5989bb0 ("mm/kasan: add support for memory hotplug")
Signed-off-by: David Hildenbrand <david@redhat.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions