Date: Wed, 17 Nov 2004 04:49:27 +0000 (UTC) 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 Message-ID: <200411170449.iAH4nRCK031490@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004-11-17 04:49:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/vm vm_page.c Log: MFC revision 1.293 Correct two errors in PG_BUSY management by vm_page_cowfault(). Both errors are in rarely executed paths. 1. Each time the retry_alloc path is taken, the PG_BUSY must be set again. Otherwise vm_page_remove() panics. 2. There is no need to set PG_BUSY on the newly allocated page before freeing it. The page already has PG_BUSY set by vm_page_alloc(). Setting it again could cause an assertion failure. Revision Changes Path 1.290.2.1 +1 -2 src/sys/vm/vm_page.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411170449.iAH4nRCK031490>