Re: de-static uvm_swap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thordur Bjornsson
Date: Friday, September 24, 2010 - 3:33 pm

and I'd like to kill these to:


Index: uvm_pdaemon.c
===================================================================
RCS file: /cvs/src/sys/uvm/uvm_pdaemon.c,v
retrieving revision 1.55
diff -u -p -r1.55 uvm_pdaemon.c
--- uvm_pdaemon.c	14 Oct 2009 17:53:30 -0000	1.55
+++ uvm_pdaemon.c	24 Sep 2010 22:31:47 -0000
@@ -96,9 +96,9 @@
  * local prototypes
  */
 
-static void		uvmpd_scan(void);
-static boolean_t	uvmpd_scan_inactive(struct pglist *);
-static void		uvmpd_tune(void);
+void		uvmpd_scan(void);
+boolean_t	uvmpd_scan_inactive(struct pglist *);
+void		uvmpd_tune(void);
 
 /*
  * uvm_wait: wait (sleep) for the page daemon to free some pages
@@ -155,7 +155,7 @@ uvm_wait(const char *wmsg)
  * => caller must call with page queues locked
  */
 
-static void
+void
 uvmpd_tune(void)
 {
 	UVMHIST_FUNC("uvmpd_tune"); UVMHIST_CALLED(pdhist);
@@ -329,7 +329,7 @@ uvm_aiodone_daemon(void *arg)
  * => we return TRUE if we are exiting because we met our target
  */
 
-static boolean_t
+boolean_t
 uvmpd_scan_inactive(struct pglist *pglst)
 {
 	boolean_t retval = FALSE;	/* assume we haven't hit target */
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
de-static uvm_swap, Thordur Bjornsson, (Fri Sep 24, 1:01 pm)
Re: de-static uvm_swap, Bret S. Lambert, (Fri Sep 24, 1:11 pm)
Re: de-static uvm_swap, Kenneth R Westerback, (Fri Sep 24, 2:59 pm)
Re: de-static uvm_swap, Thordur Bjornsson, (Fri Sep 24, 3:33 pm)
Re: de-static uvm_swap, Owain Ainsworth, (Fri Sep 24, 4:28 pm)
Re: de-static uvm_swap, Marco Peereboom, (Fri Sep 24, 4:51 pm)