cvs commit: src/sys/vm swap_pager.c swap_pager.h vm_map.c
Poul-Henning Kamp
phk at FreeBSD.org
Fri Jul 18 03:48:00 PDT 2003
phk 2003/07/18 03:47:59 PDT
FreeBSD src repository
Modified files:
sys/vm swap_pager.c swap_pager.h vm_map.c
Log:
Move the implementation of the vmspace_swap_count() (used only in
the "toss the largest process" emergency handling) from vm_map.c to
swap_pager.c.
The quantity calculated depends strongly on the internals of the
swap_pager and by moving it, we no longer need to expose the
internal metrics of the swap_pager to the world.
Revision Changes Path
1.206 +65 -0 src/sys/vm/swap_pager.c
1.45 +0 -27 src/sys/vm/swap_pager.h
1.304 +0 -37 src/sys/vm/vm_map.c
More information about the cvs-src
mailing list