aboutsummaryrefslogtreecommitdiffstats
path: root/tools/memshr/bidir-daemon.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:57 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:57 +0000
commit78c136415ecead2c856312c6bf13bd0086679c6e (patch)
treefe54f76dec62ae73c080a3a69bb784fa5573ff17 /tools/memshr/bidir-daemon.h
parent4515e6d82b23366933055b0ad60d8ed89f5a2b92 (diff)
downloadxen-78c136415ecead2c856312c6bf13bd0086679c6e.tar.gz
xen-78c136415ecead2c856312c6bf13bd0086679c6e.tar.bz2
xen-78c136415ecead2c856312c6bf13bd0086679c6e.zip
Maintains/cleans-up the sharing map. At the moment a simple FIFO policy is
applied. Signed-off-by: Grzegorz Milos <Grzegorz.Milos@citrix.com>
Diffstat (limited to 'tools/memshr/bidir-daemon.h')
-rw-r--r--tools/memshr/bidir-daemon.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/memshr/bidir-daemon.h b/tools/memshr/bidir-daemon.h
new file mode 100644
index 0000000000..8784e7b57f
--- /dev/null
+++ b/tools/memshr/bidir-daemon.h
@@ -0,0 +1,25 @@
+/******************************************************************************
+ *
+ * Copyright (c) 2009 Citrix (R&D) Inc. (Grzegorz Milos)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __BIDIR_DAEMON_H__
+#define __BIDIR_DAEMON_H__
+
+void bidir_daemon_initialize(struct blockshr_hash *blks);
+
+#endif /* __BIDIR_DAEMON_H__ */