DragonFly commits List (threaded) for 2004-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/vm vm_map.c device_pager.c
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@xxxxxxxxxxx>
Submitted-by: Emiel Kollof <coolvibe@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]