mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
swapout_threads() -> swapout_procs().
This commit is contained in:
parent
f2daac0c69
commit
6306c897b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9468
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vm_extern.h 8.2 (Berkeley) 1/12/94
|
||||
* $Id: vm_extern.h,v 1.14 1995/05/10 18:56:04 davidg Exp $
|
||||
* $Id: vm_extern.h,v 1.15 1995/05/14 03:00:09 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _VM_EXTERN_H_
|
||||
@ -100,7 +100,7 @@ int pager_cache __P((vm_object_t, boolean_t));
|
||||
void sched __P((void));
|
||||
int swaponvp __P((struct proc *, struct vnode *, dev_t , u_long ));
|
||||
void swapout __P((struct proc *));
|
||||
void swapout_threads __P((void));
|
||||
void swapout_procs __P((void));
|
||||
void swstrategy __P((struct buf *));
|
||||
void thread_block __P((char *));
|
||||
void thread_sleep __P((int, simple_lock_t, boolean_t));
|
||||
|
@ -59,7 +59,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_glue.c,v 1.20 1995/05/30 08:16:01 rgrimes Exp $
|
||||
* $Id: vm_glue.c,v 1.21 1995/07/10 08:48:58 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -405,7 +405,7 @@ extern int vm_pageout_free_min;
|
||||
* if any, otherwise the longest-resident process.
|
||||
*/
|
||||
void
|
||||
swapout_threads()
|
||||
swapout_procs()
|
||||
{
|
||||
register struct proc *p;
|
||||
struct proc *outp, *outp2;
|
||||
|
@ -65,7 +65,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_pageout.c,v 1.50 1995/05/21 21:39:31 davidg Exp $
|
||||
* $Id: vm_pageout.c,v 1.51 1995/05/30 08:16:18 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -886,7 +886,7 @@ vm_daemon()
|
||||
while (TRUE) {
|
||||
tsleep((caddr_t) &vm_daemon_needed, PUSER, "psleep", 0);
|
||||
if( vm_pageout_req_swapout) {
|
||||
swapout_threads();
|
||||
swapout_procs();
|
||||
vm_pageout_req_swapout = 0;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user