diff options
author | Kai Huang <kai.huang@intel.com> | 2024-08-25 20:18:06 +1200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-08-25 14:29:39 +0200 |
commit | ea49cdb26e7cffc261ceb1db26707e6d337fa104 (patch) | |
tree | 187a545b15f4da0d853c12a793c278d52145bbcf /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 3c41ad39f179c0e41f585975eb6834cd14f286ec (diff) |
x86/kexec: Add comments around swap_pages() assembly to improve readability
The current assembly around swap_pages() in the relocate_kernel() takes
some time to follow because the use of registers can be easily lost when
the line of assembly goes long. Add a couple of comments to clarify the
code around swap_pages() to improve readability.
Signed-off-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/all/8b52b0b8513a34b2a02fb4abb05c6700c2821475.1724573384.git.kai.huang@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions