summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-10-10 21:23:24 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-25 19:57:59 +0300
commitef7db98e477f4b379fac3131bf94c33774c4a211 (patch)
treecdfde30a99bcfaafa6eaed3b462dcedea02ee1b1 /include/linux/init_task.h
parent5488499f9c645d6c1ffe151be196df38ee5a56b4 (diff)
downloadlinux-ef7db98e477f4b379fac3131bf94c33774c4a211.tar.xz
KVM: Use NULL for struct page pointer to indicate mremapped memory
Drop yet another unnecessary magic page value from KVM, as there's zero reason to use a poisoned pointer to indicate "no page". If KVM uses a NULL page pointer, the kernel will explode just as quickly as if KVM uses a poisoned pointer. Never mind the fact that such usage would be a blatant and egregious KVM bug. Tested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Sean Christopherson <seanjc@google.com> Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20241010182427.1434605-23-seanjc@google.com>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions