summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-01-31 18:40:30 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-01-31 18:40:30 +0000
commit6ca9ae44c6ea8e0dae363dc195ecb59394d77780 (patch)
tree2be903e73b6b6b5be4a3ab1799938b8529f205a8 /sys
parent9cc09f0f531650f01aac08a675c4f519ef4b8f6a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_bio.c1
-rw-r--r--sys/sys/proc.h2
-rw-r--r--sys/vm/vm_pageout.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index cd8b02b849f5..5dfda839adc9 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1802,7 +1802,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 1ee93da7e60f..9ede439de392 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -283,7 +283,7 @@ struct proc {
#define P_SWAPINREQ 0x80000 /* Swapin request due to wakeup */
/* Marked a kernel thread */
-#define P_BUFEXHAUST 0x100000 /* dirty buffers flush is in progress */
+#define P_UNUSED100000 0x100000
#define P_KTHREADP 0x200000 /* Process is really a kernel thread */
#define P_DEADLKTREAT 0x800000 /* lock aquisition - deadlock treatment */
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 46debb91f217..a51bc67aa3c7 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -1352,7 +1352,6 @@ vm_pageout()
if (vm_pageout_stats_free_max == 0)
vm_pageout_stats_free_max = 5;
- curproc->p_flag |= P_BUFEXHAUST;
swap_pager_swap_init();
pass = 0;
/*