GC P_BUFEXHAUST leftovers, we've had a new mechanism to avoid buffer

cache lockups for over a year now.

MFC after:		0 days
This commit is contained in:
dillon 2002-01-31 18:39:44 +00:00
parent ecf20a5ab9
commit 8abd6168f2
3 changed files with 1 additions and 5 deletions

View File

@ -1880,7 +1880,6 @@ buf_daemon()
/*
* This process is allowed to take the buffer cache to the limit
*/
curproc->p_flag |= P_BUFEXHAUST;
s = splbio();
for (;;) {

View File

@ -469,7 +469,7 @@ struct proc {
#define P_KSES 0x08000 /* Process is using KSEs. */
/* Should be moved to machine-dependent areas. */
#define P_BUFEXHAUST 0x100000 /* Dirty buffers flush is in progress. */
#define P_UNUSED100000 0x100000
#define P_COWINPROGRESS 0x400000 /* Snapshot copy-on-write in progress. */
#define P_JAILED 0x1000000 /* Process is in jail. */

View File

@ -1376,9 +1376,6 @@ vm_pageout()
if (vm_pageout_stats_free_max == 0)
vm_pageout_stats_free_max = 5;
PROC_LOCK(curthread->td_proc);
curthread->td_proc->p_flag |= P_BUFEXHAUST;
PROC_UNLOCK(curthread->td_proc);
swap_pager_swap_init();
pass = 0;
/*