public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Misc comments fixup in relocate_kernel_64.S
@ 2024-08-25  8:18 Kai Huang
  2024-08-25  8:18 ` [PATCH v2 1/2] x86/kexec: Fix a comment of swap_pages() assembly Kai Huang
  2024-08-25  8:18 ` [PATCH v2 2/2] x86/kexec: Add comments around swap_pages() assembly to improve readability Kai Huang
  0 siblings, 2 replies; 5+ messages in thread
From: Kai Huang @ 2024-08-25  8:18 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, hpa, peterz
  Cc: kirill.shutemov, x86, linux-kernel, nik.borisov

The assembly code of relcocate_kernel() takes some time to follow for
newbies like me.  This series adds some comments to try to improve the
readability hoping they could be helpful to others too.  Also fix an
error (IIUC) in one comment.

v1 -> v2:
  - Add Kirill's tag.

  v1: https://lore.kernel.org/lkml/q2y5vte3wwn5qde5p4nfmjfqtzxfen3nhjdyafc7nbirfidpvr@ro3djjz3pub4/T/

Kai Huang (2):
  x86/kexec: Fix a comment of swap_pages() assembly
  x86/kexec: Add comments around swap_pages() assembly to improve
    readability

 arch/x86/kernel/relocate_kernel_64.S | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)


base-commit: e77f8f275278886d05ce6dfe9e3bc854e7bf0713
-- 
2.46.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-25 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-25  8:18 [PATCH v2 0/2] Misc comments fixup in relocate_kernel_64.S Kai Huang
2024-08-25  8:18 ` [PATCH v2 1/2] x86/kexec: Fix a comment of swap_pages() assembly Kai Huang
2024-08-25 12:37   ` [tip: x86/cleanups] " tip-bot2 for Kai Huang
2024-08-25  8:18 ` [PATCH v2 2/2] x86/kexec: Add comments around swap_pages() assembly to improve readability Kai Huang
2024-08-25 12:37   ` [tip: x86/cleanups] " tip-bot2 for Kai Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox