diff options
author | alfred <alfred@FreeBSD.org> | 2000-12-06 21:52:23 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2000-12-06 21:52:23 +0000 |
commit | 012cf93dca4f03d0bb1879fb9308a0476262d6d9 (patch) | |
tree | d42ef46c3b3c582d88af688644462a86f72f9b5d /sys/alpha/pci | |
parent | 978bf0288dcc63cbf07834a158c164d4cee393ca (diff) | |
download | FreeBSD-src-012cf93dca4f03d0bb1879fb9308a0476262d6d9.zip FreeBSD-src-012cf93dca4f03d0bb1879fb9308a0476262d6d9.tar.gz |
Really fix phys_pager:
Backout the previous delta (rev 1.4), it didn't make any difference.
If the requested handle is NULL then don't add it to the list of
objects, to be found by handle.
The problem is that when asking for a NULL handle you are implying
you want a new object. Because objects with NULL handles were
being added to the list, any further requests for phys backed
objects with NULL handles would return a reference to the initial
NULL handle object after finding it on the list.
Basically one couldn't have more than one phys backed object without
a handle in the entire system without this fix. If you did more
than one shared memory allocation using the phys pager it would
give you your initial allocation again.
Diffstat (limited to 'sys/alpha/pci')
0 files changed, 0 insertions, 0 deletions