git: DragonFly_RELEASE_4_2 kernel - Fix pmap_change_attr() use cases.

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Jul 23 11:39:54 PDT 2015


commit c76e4c49a692493243e0b926e8556a4f579cfde2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 20 11:27:49 2015 -0700

    kernel - Fix pmap_change_attr() use cases.
    
    * In DragonFly this function takes a page count, not a byte count.
      some calls were made with a byte count, others with a page count.
    
      Note that in FreeBSD this function takes a byte count, but after
      reviewing the use cases I decided to normalize it all to a page count.
    
    * Fixes reported DRM issues.  Might also fix test branch ehci/ethernet
      panics due to memory corruption when DRM is loaded.

Summary of changes:
 sys/dev/drm/include/asm/cacheflush.h | 2 +-
 sys/platform/pc64/x86_64/pmap.c      | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c76e4c49a692493243e0b926e8556a4f579cfde2


-- 
DragonFly BSD source repository



More information about the Commits mailing list