Re: [PATCH 2/2] x86/kexec: Add comments around swap_pages() assembly to improve readability
From: Kirill A. Shutemov
Date: Tue Aug 20 2024 - 05:26:30 EST
On Tue, Aug 20, 2024 at 12:21:12AM +1200, Kai Huang wrote:
> 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@xxxxxxxxx>
Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
--
Kiryl Shutsemau / Kirill A. Shutemov