diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2024-12-05 15:05:10 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-12-06 10:41:59 +0100 |
commit | 9e5683e2d0b5584c51993908c5d0afa78e613492 (patch) | |
tree | 2dc718b1a103cb11145039d508d93bec98642fb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46d4e205e22c89841552b05663d34e57e9a66611 (diff) |
x86/kexec: Only swap pages for ::preserve_context mode
There's no need to swap pages (which involves three memcopies for each
page) in the plain kexec case. Just do a single copy from source to
destination page.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20241205153343.3275139-5-dwmw2@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions