Author: kib
Date: Wed Sep  6 07:04:29 2017
New Revision: 323209
URL: https://svnweb.freebsd.org/changeset/base/323209

Log:
  MFC r323017:
  Make the swap_pager_full variable static.
  
  PR:   221356

Modified:
  stable/11/sys/vm/swap_pager.c
  stable/11/sys/vm/swap_pager.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/vm/swap_pager.c
==============================================================================
--- stable/11/sys/vm/swap_pager.c       Wed Sep  6 06:57:18 2017        
(r323208)
+++ stable/11/sys/vm/swap_pager.c       Wed Sep  6 07:04:29 2017        
(r323209)
@@ -314,7 +314,7 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *
 #define SWM_FREE       0x02    /* free, period                 */
 #define SWM_POP                0x04    /* pop out                      */
 
-int swap_pager_full = 2;       /* swap space exhaustion (task killing) */
+static int swap_pager_full = 2;        /* swap space exhaustion (task killing) 
*/
 static int swap_pager_almost_full = 1; /* swap space exhaustion 
(w/hysteresis)*/
 static int nsw_rcount;         /* free read buffers                    */
 static int nsw_wcount_sync;    /* limit write buffers / synchronous    */

Modified: stable/11/sys/vm/swap_pager.h
==============================================================================
--- stable/11/sys/vm/swap_pager.h       Wed Sep  6 06:57:18 2017        
(r323208)
+++ stable/11/sys/vm/swap_pager.h       Wed Sep  6 07:04:29 2017        
(r323209)
@@ -73,7 +73,6 @@ struct swdevt {
 
 #ifdef _KERNEL
 
-extern int swap_pager_full;
 extern int swap_pager_avail;
 
 struct xswdev;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to