Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm uvm_pdpolicy.h: Fix missing forward declarations and...
details: https://anonhg.NetBSD.org/src/rev/27e4e1061b71
branches: trunk
changeset: 369531:27e4e1061b71
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Aug 20 23:26:02 2022 +0000
description:
uvm_pdpolicy.h: Fix missing forward declarations and includes.
diffstat:
sys/uvm/uvm_pdpolicy.h | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 7db26d545e25 -r 27e4e1061b71 sys/uvm/uvm_pdpolicy.h
--- a/sys/uvm/uvm_pdpolicy.h Sat Aug 20 23:19:08 2022 +0000
+++ b/sys/uvm/uvm_pdpolicy.h Sat Aug 20 23:26:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pdpolicy.h,v 1.8 2020/05/17 19:38:17 ad Exp $ */
+/* $NetBSD: uvm_pdpolicy.h,v 1.9 2022/08/20 23:26:02 riastradh Exp $ */
/*-
* Copyright (c)2005, 2006 YAMAMOTO Takashi,
@@ -29,8 +29,15 @@
#ifndef _UVM_PDPOLICY_H_
#define _UVM_PDPOLICY_H_
+#include <sys/mutex.h>
+#include <sys/stdint.h>
+
+#include <uvm/uvm_page.h>
+
+struct krwlock;
+struct uvm_cpu;
+struct vm_anon;
struct vm_page;
-struct vm_anon;
/*
* these API is for uvm internal use only.
@@ -56,7 +63,7 @@
void uvmpdpol_tune(void);
void uvmpdpol_scaninit(void);
void uvmpdpol_scanfini(void);
-struct vm_page *uvmpdpol_selectvictim(krwlock_t **lock);
+struct vm_page *uvmpdpol_selectvictim(struct krwlock **);
void uvmpdpol_balancequeue(int);
void uvmpdpol_sysctlsetup(void);
Home |
Main Index |
Thread Index |
Old Index