summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_spec.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2007-11-05 10:25:12 +0000
committerkib <kib@FreeBSD.org>2007-11-05 10:25:12 +0000
commit8cd6397d8ad47472f70ab5982dd0b99dc35d0c1f (patch)
tree7d4c21b88763535ab63ea3fe8cc3e6d885b6e789 /lib/libthr/thread/thr_spec.c
parente44e0b612b3783c5c938afc92eb227e9be0c61b4 (diff)
downloadFreeBSD-src-8cd6397d8ad47472f70ab5982dd0b99dc35d0c1f.zip
FreeBSD-src-8cd6397d8ad47472f70ab5982dd0b99dc35d0c1f.tar.gz
The intent of the freeing the (zeroed) page in vm_page_cache() for
default object rather than cache it was to have vm_pager_has_page(object, pindex, ...) == FALSE to imply that there is no cached page in object at pindex. This allows to avoid explicit checks for cached pages in vm_object_backing_scan(). For now, we need the same bandaid for the swap object, otherwise both the vm_page_lookup() and the pager can report that there is no page at offset, while page is stored in the cache. Also, this fixes another instance of the KASSERT("object type is incompatible") failure in the vm_page_cache_transfer(). Reported and tested by: Peter Holm Reviewed by: alc MFC after: 3 days
Diffstat (limited to 'lib/libthr/thread/thr_spec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud