Date: Tue, 11 May 2004 21:27:18 -0700 (PDT) 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: <200405120427.i4C4RIrA066878@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004/05/11 21:27:18 PDT FreeBSD src repository Modified files: sys/vm vm_page.c Log: Restructure vm_page_select_cache() so that adding assertions is easy. Some of the conditions that caused vm_page_select_cache() to deactivate a page were wrong. For example, deactivating an unmanaged or wired page is a nop. Thus, if vm_page_select_cache() had ever encountered an unmanaged or wired page, it would have looped forever. Now, we assert that the page is neither unmanaged nor wired. Revision Changes Path 1.283 +15 -10 src/sys/vm/vm_page.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405120427.i4C4RIrA066878>