diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_bio.c | 1 | ||||
-rw-r--r-- | sys/sys/proc.h | 2 | ||||
-rw-r--r-- | sys/vm/vm_pageout.c | 3 |
3 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 29646d9..1ca27ab 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -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 (;;) { diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 46f01ee..deddf48 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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. */ diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 47ce9e8..57f22b2 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -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; /* |