diff options
| author | Juergen Gross <jgross@suse.com> | 2026-02-14 14:50:35 +0100 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-02-18 10:47:58 +0100 |
| commit | 5043d7ed39dfdce3107d6642aa31bb7736547104 (patch) | |
| tree | eae68895368f1c9562c4cfb1a2ff9da9e9079262 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c307b6dc9c4f68d00524ec10899cdf21466b5c1e (diff) | |
x86/xen: Fix Xen PV guest boot
A recent patch moving the call of sparse_init() to common mm code
broke booting as a Xen PV guest.
Reason is that the Xen PV specific boot code relied on struct page area
being accessible rather early, but this changed by the move of the call
of sparse_init().
Fortunately the fix is rather easy: there is a static branch available
indicating whether struct page contents are usable by Xen. This static
branch just needs to be tested in some places for avoiding the access
of struct page.
Fixes: 4267739cabb8 ("arch, mm: consolidate initialization of SPARSE memory model")
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260214135035.119357-1-jgross@suse.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
