Subject: CVS commit: syssrc/sys/uvm
To: None <firstname.lastname@example.org>
From: Emmanuel Dreyfus <email@example.com>
Date: 03/18/2002 13:43:02
Module Name: syssrc
Committed By: manu
Date: Mon Mar 18 11:43:02 UTC 2002
syssrc/sys/uvm: uvm_swap.c uvm_swap.h
Move swapctl(SWAP_STATS) implementation to a separate function called
uvm_swap_stats(). This is done in order to allow COMPAT_* swapctl()
emulation to use it directly without going through sys_swapctl().
The problem with using sys_swapctl() there is that it involves
copying the swapent array to the stackgap, and this array's size
is not known at build time. Hence it would not be possible to
ensure it would fit in the stackgap in any case.
To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 syssrc/sys/uvm/uvm_swap.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/uvm/uvm_swap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.