cvs commit: src/sys/vm vm_map.c device_pager.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jul 20 18:26:24 PDT 2004
dillon 2004/07/20 18:25:19 PDT
DragonFly src repository
Modified files:
sys/vm vm_map.c device_pager.c
Log:
Fix a device pager leak for the case where the page already exists in the
VM object (typical case: multiple mappings of the device?). If the page
already exists we simply update its physical address. It is unclear whether
the physical address would ever actually be different, however.
This is an untested patch.
Original-patch-written-by: Christian Zander @ NVIDIA
Workaround-suggested-by: Tor Egge <tegge at xxxxxxxxxxx>
Submitted-by: Emiel Kollof <coolvibe at xxxxxxxxxxxxxxxx>
Revision Changes Path
1.29 +3 -1 src/sys/vm/vm_map.c
1.8 +23 -12 src/sys/vm/device_pager.c
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/device_pager.c.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list