[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] mini-os: mm: introduce generic page table walk function



Juergen Gross, le mer. 31 juil. 2024 15:00:24 +0200, a ecrit:
> +            ptindex[lvl] = (va >> ptdata[lvl].shift) &
> +                           (ptdata[lvl].entries - 1);

It seems that this kind of va+lvl-to-index computation happens several
times? It's probably worth making it a macro.

Samuel



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.