svn commit: r330334 - stable/11/sys/vm

Konstantin Belousov kib at FreeBSD.org
Sat Mar 3 11:53:45 UTC 2018


Author: kib
Date: Sat Mar  3 11:53:44 2018
New Revision: 330334
URL: https://svnweb.freebsd.org/changeset/base/330334

Log:
  MFC r329905:
  Hide all vm/vm_pageout.h content under #ifdef _KERNEL.

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

Modified: stable/11/sys/vm/vm_pageout.h
==============================================================================
--- stable/11/sys/vm/vm_pageout.h	Sat Mar  3 11:18:38 2018	(r330333)
+++ stable/11/sys/vm/vm_pageout.h	Sat Mar  3 11:53:44 2018	(r330334)
@@ -63,6 +63,8 @@
 #ifndef _VM_VM_PAGEOUT_H_
 #define _VM_VM_PAGEOUT_H_
 
+#ifdef _KERNEL
+
 /*
  *	Header file for pageout daemon.
  */
@@ -101,11 +103,10 @@ void pagedaemon_wakeup(void);
 void vm_wait(void);
 void vm_waitpfault(void);
 
-#ifdef _KERNEL
 int vm_pageout_flush(vm_page_t *, int, int, int, int *, boolean_t *);
 void vm_pageout_oom(int shortage);
 
 void vm_swapout_run(void);
 void vm_swapout_run_idle(void);
-#endif
+#endif /* _KERNEL */
 #endif	/* _VM_VM_PAGEOUT_H_ */


More information about the svn-src-stable-11 mailing list