Skip to contentSkip to conversation

odd code in kvmppc_core_vcpu_free_pr()

RFC Al Viro 1 participant 1 message Dec 21, 2015

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Am I right assuming that

        free_page((unsigned long)vcpu->arch.shared & PAGE_MASK);

has become stale in "KVM: PPC: Book3S: Make magic page properly 4k mappable"? AFAICS, these days ->arch.shared points to the beginning of page, so no masking should be needed... Or am I missing something subtle there?