diff options
| author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-06-03 17:09:22 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 16:10:27 +0200 |
| commit | 81671f4d891831d6502dae4b280e34cdfe5abd29 (patch) | |
| tree | 54a9e8f5852c094615b5b00147abe55042461240 /include | |
| parent | 9916ff18dbb21277e1dd7a661de77ae272f6abfd (diff) | |
Drivers: hv: avoid vfree() on crash
commit a9f61ca793becabdefab03b77568d6c6f8c1bc79 upstream.
When we crash from NMI context (e.g. after NMI injection from host when
'sysctl -w kernel.unknown_nmi_panic=1' is set) we hit
kernel BUG at mm/vmalloc.c:1530!
as vfree() is denied. While the issue could be solved with in_nmi() check
instead I opted for skipping vfree on all sorts of crashes to reduce the
amount of work which can cause consequent crashes. We don't really need to
free anything on crash.
[js] no tsc and kexec in 3.12 yet
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
