]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Call pmap_qremove() before freeing or unwiring the pages, otherwise
authormarius <marius@FreeBSD.org>
Tue, 5 Jul 2011 18:40:37 +0000 (18:40 +0000)
committermarius <marius@FreeBSD.org>
Tue, 5 Jul 2011 18:40:37 +0000 (18:40 +0000)
commit97f9011cd81d27c563028b9f2fe7df9169adde14
tree8f217ab440eff877ad6e011fc9f833215dec59bd
parentf71b110a36640f214204387737c5964c19a4aeee
Call pmap_qremove() before freeing or unwiring the pages, otherwise
there's a window during which a page can be re-used before its previous
mapping is removed.

Reviewed by: alc
MFC after: 1 week
sys/kern/vfs_bio.c
sys/sparc64/sparc64/pmap.c