After r327168, the variable "vm_pageout_wanted" can be static.

MFC after:	2 weeks
This commit is contained in:
Alan Cox 2017-12-29 17:02:22 +00:00
parent 2e23c41122
commit 5c515efc88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327349
2 changed files with 1 additions and 2 deletions

View File

@ -150,7 +150,7 @@ SDT_PROBE_DEFINE(vm, , , vm__lowmem_scan);
int vm_pageout_deficit; /* Estimated number of pages deficit */
u_int vm_pageout_wakeup_thresh;
static int vm_pageout_oom_seq = 12;
bool vm_pageout_wanted; /* Event on which pageout daemon sleeps */
static bool vm_pageout_wanted; /* Event on which pageout daemon sleeps */
bool vm_pages_needed; /* Are threads waiting for free pages? */
/* Pending request for dirty page laundering. */

View File

@ -76,7 +76,6 @@
extern int vm_page_max_wired;
extern int vm_pageout_deficit;
extern int vm_pageout_page_count;
extern bool vm_pageout_wanted;
extern bool vm_pages_needed;
#define VM_OOM_MEM 1