]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear m->object for the page taken from the delayed free list for
authorkib <kib@FreeBSD.org>
Wed, 10 Jul 2013 09:24:03 +0000 (09:24 +0000)
committerkib <kib@FreeBSD.org>
Wed, 10 Jul 2013 09:24:03 +0000 (09:24 +0000)
commit336012d28ce09b00977ed864f9c6e424ea866886
tree47b2c34175df8e9b92da8e1e8797bf1bcd2f1c4f
parentbef0b386920c0c9dec8c841dcb3324e62159114d
Clear m->object for the page taken from the delayed free list for
reuse as the pv chink page in reclaim_pv_chunk().  Having non-NULL
m->object is wrong for page not owned by an object and confuses both
vm_page_free_toq() and vm_page_remove() when the page is freed later.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
sys/amd64/amd64/pmap.c