diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2002-01-31 18:39:44 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2002-01-31 18:39:44 +0000 |
| commit | 027df6bdd716c44c1f5427acec1ccc5290be0939 (patch) | |
| tree | efdca1b21fe225ea759cde06802cc36879060519 /sys | |
| parent | 7057577703672fe26e30499843624e15df89a233 (diff) | |
Notes
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 29646d97c5550..1ca27abf4e8f8 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 46f01ee6e3ce6..deddf48cff36d 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 47ce9e8bacecd..57f22b2a8ba28 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; /* |
