Date: Sat, 24 Jan 2004 13:31:06 -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 swap_pager.c Message-ID: <200401242131.i0OLV6pA073029@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004/01/24 13:31:06 PST
FreeBSD src repository
Modified files:
sys/vm swap_pager.c
Log:
1. Statically initialize swap_pager_full and swap_pager_almost_full to the
full state. (When swap is added their state will change appropriately.)
2. Set swap_pager_full and swap_pager_almost_full to the full state when
the last swap device is removed.
Combined these changes eliminate nonsense messages from the kernel on swap-
less machines.
Item 2 submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Prodding by: phk
Revision Changes Path
1.245 +6 -2 src/sys/vm/swap_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401242131.i0OLV6pA073029>
