Am 10.03.23 um 13:42 schrieb Alexander Gordeev:
On Fri, Mar 10, 2023 at 01:34:27PM +0100, Alexander Gordeev wrote:Note that several callers pass NULL as addr, this is fine since virt_to_phys(0) == 0.Missed that. Are you sure? Quickly checked ppc64, x86 and arm64 - they do not seem adhere virt_to_phys(0) == 0, nor the VR kernel (so far).
Isnt that the prefix page? I think we did say that the prefix page must be 0 in virt and phys otherwise we will have performance issues due to cache synonyms.