]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kho: move alloc tag init to kho_init_{folio,pages}()
authorPratyush Yadav (Google) <pratyush@kernel.org>
Fri, 13 Feb 2026 08:59:12 +0000 (09:59 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:03 +0000 (13:53 -0700)
commit63de231ef02afbe5b2a6277c3bdf8d0d7f7e1d21
tree717027efea9a90b4b32e0f95329a2f3a6d15c5b8
parent514c2fe9927e91f44eb3f53f2e175d232bd2a989
kho: move alloc tag init to kho_init_{folio,pages}()

Commit 8f1081892d62 ("kho: simplify page initialization in
kho_restore_page()") cleaned up the page initialization logic by moving
the folio and 0-order-page paths into separate functions.  It missed
moving the alloc tag initialization.

Do it now to keep the two paths cleanly separated.  While at it, touch up
the comments to be a tiny bit shorter (mainly so it doesn't end up
splitting into a multiline comment).  This is purely a cosmetic change and
there should be no change in behaviour.

Link: https://lkml.kernel.org/r/20260213085914.2778107-1-pratyush@kernel.org
Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/liveupdate/kexec_handover.c