Date: Fri, 4 Sep 2009 04:48:12 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_reserv.c Message-ID: <200909040448.n844mNrv098163@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-09-04 04:48:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_reserv.c Log: SVN rev 196807 on 2009-09-04 04:48:12Z by alc MFC r190912 Previously, when vm_page_free_toq() was performed on a page belonging to a reservation, unless all of the reservation's pages were free, the reservation was moved to the head of the partially-populated reservations queue, where it would be the next reservation to be broken in case the free page queues were emptied. Now, instead, I am moving it to the tail. Very likely this reservation is in the process of being freed in its entirety, so placing it at the tail of the queue makes it more likely that the underlying physical memory will be returned to the free page queues as one contiguous chunk. Revision Changes Path 1.2.2.2 +4 -4 src/sys/vm/vm_reserv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909040448.n844mNrv098163>