git: kern - Add D_MEM flag to /dev/mem and /dev/kmem character devices.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Feb 18 02:06:04 PST 2018


commit 7e81bb374d263400b16daa9a11d684287db36e78
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Feb 5 21:24:11 2018 +0100

    kern - Add D_MEM flag to /dev/mem and /dev/kmem character devices.
    
    * This makes seeking actually work on these character devices, which fixes
      performance of various tools when reading from /dev/mem or /dev/kmem.

Summary of changes:
 sys/kern/kern_memio.c | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e81bb374d263400b16daa9a11d684287db36e78


-- 
DragonFly BSD source repository



More information about the Commits mailing list