Date: Sat, 14 Feb 2004 00:54:38 -0800 (PST) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_page.c vm_pageout.c Message-ID: <200402140854.i1E8scnW035762@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004/02/14 00:54:38 PST
FreeBSD src repository
Modified files:
sys/vm vm_page.c vm_pageout.c
Log:
- Correct a long-standing race condition in vm_page_try_to_cache() that
could result in a panic "vm_page_cache: caching a dirty page, ...":
Access to the page must be restricted or removed before calling
vm_page_cache(). This race condition is identical in nature to that
which was addressed by vm_pageout.c's revision 1.251.
- Simplify the code surrounding the fix to this same race condition
in vm_pageout.c's revision 1.251. There should be no behavioral
change. Reviewed by: tegge
MFC after: 7 days
Revision Changes Path
1.275 +1 -1 src/sys/vm/vm_page.c
1.252 +2 -3 src/sys/vm/vm_pageout.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402140854.i1E8scnW035762>
