git: kernel - Fix pmap_change_attr() use cases.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 20 11:29:54 PDT 2015


commit 96acd33e6b38c6295e93b3de1b6f125ce6802974
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 | 6 +++---
 sys/platform/pc64/x86_64/pmap.c      | 3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/96acd33e6b38c6295e93b3de1b6f125ce6802974


-- 
DragonFly BSD source repository


More information about the Commits mailing list