cvs commit: src/sys/vm swap_pager.c
Alan Cox
alc at FreeBSD.org
Sat Jan 24 13:31:08 PST 2004
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 at stud.fit.vutbr.cz>
Prodding by: phk
Revision Changes Path
1.245 +6 -2 src/sys/vm/swap_pager.c
More information about the cvs-src
mailing list