DragonFlyBSD/src ae442b2sys/platform/pc64/x86_64 pmap.c, sys/platform/vkernel64/include pmap.h

kernel - VM rework part 10 - Precursor work for terminal pv_entry removal

* Effectively remove pmap_track_modified().  Turn it into an assertion.
  The normal pmap code should NEVER EVER be called with any range inside
  the clean map.

  This assertion, and the routine in its entirety, will be removed in a
  later commit.

* The purpose of the original code was to prevent buffer cache kvm mappings
  from being misinterpreted as contributing to the underlying vm_page's
  modified state.  Normal paging operation synchronizes the modified bit and
  then transfers responsibility to the buffer cache.  We didn't want
  manipulation of the buffer cache to further affect the modified bit for
  the page.

  In modern times, the buffer cache does NOT use a kernel_object based
  mapping for anything and there should be no chance of any kernel related
  pmap_enter() (entering a managed page into the kernel_pmap) from messing
  with the space.
DeltaFile
+21-28sys/platform/vkernel64/platform/pmap.c
+18-23sys/platform/pc64/x86_64/pmap.c
+1-2sys/platform/vkernel64/platform/pmap_inval.c
+0-1sys/platform/vkernel64/include/pmap.h
+40-544 files

UnifiedSplitRaw