Date: Sun, 6 Apr 2008 18:09:28 +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 vm_phys.c vm_reserv.c vm_reserv.h Message-ID: <200804061809.m36I9SWA001722@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2008-04-06 18:09:28 UTC
FreeBSD src repository
Modified files:
sys/vm vm_page.c vm_phys.c vm_reserv.c
vm_reserv.h
Log:
Introduce vm_reserv_reclaim_contig(). This function is used by
contigmalloc(9) as a last resort to steal pages from an inactive,
partially-used superpage reservation.
Rename vm_reserv_reclaim() to vm_reserv_reclaim_inactive() and
refactor it so that a separate subroutine is responsible for breaking
the selected reservation. This subroutine is also used by
vm_reserv_reclaim_contig().
Revision Changes Path
1.369 +1 -1 src/sys/vm/vm_page.c
1.9 +8 -0 src/sys/vm/vm_phys.c
1.2 +85 -22 src/sys/vm/vm_reserv.c
1.2 +5 -2 src/sys/vm/vm_reserv.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804061809.m36I9SWA001722>
