summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_vfsops.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-02-20 14:21:58 +0000
committerdg <dg@FreeBSD.org>1995-02-20 14:21:58 +0000
commit2095f1db10e14e3e97d9cbf58eaef6bd4df837d3 (patch)
tree529d15f22ad32830996919adf72372c9f3454aa6 /sys/miscfs/procfs/procfs_vfsops.c
parent9d3b976e15ac19cac1e92ea5712f410b33b3988a (diff)
downloadFreeBSD-src-2095f1db10e14e3e97d9cbf58eaef6bd4df837d3.zip
FreeBSD-src-2095f1db10e14e3e97d9cbf58eaef6bd4df837d3.tar.gz
Panic if object is deallocated too many times.
Slight change to reverse collapsing so that vm_object_deallocate doesn't have to be called recursively. Removed half of a previous fix - the renamed page during a collapse doesn't need to be marked dirty because the pager backing store pointers are copied - thus preserving the page's data. This assumes that pages without backing store are always dirty (except perhaps for when they are first zeroed, but this doesn't matter). Switch order of two lines of code so that the correct pager is removed from the hash list. The previous code bogusly passed a NULL pointer to vm_object_remove(). The call to vm_object_remove() should be unnecessary if named anonymous objects were being dealt with correctly. They are currently marked as OBJ_INTERNAL, which really screws up things (such as this).
Diffstat (limited to 'sys/miscfs/procfs/procfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud