OpenBSD/src wc9hFObsys/arch/arm64/arm64 pmap.c

   Adjust the pmap_set_l* functions to a more reasonable API,
   the lX_pa parameter was never called with a known physical address,
   the called function always needed to look up that data. When this was
   originally written, it was expected to be used in another path where the
   virtual and physical were both known, but that other path was rewritten
   at some point (likely that old path was early kernel table init, before
   pmap_extract is available).

   Instead of making the function perform a table walk pass the pmapvpX pointer
   to the table that the new entry will be inserted. This table is already
   known and in a local register, so no point in performing that lookup again.

   ok kettenis@
VersionDeltaFile
1.65+22-49sys/arch/arm64/arm64/pmap.c
+22-491 files

UnifiedSplitRaw