Index: trunk/host/credit-card/host.py
===================================================================
--- trunk/host/credit-card/host.py	(revision 2066)
+++ trunk/host/credit-card/host.py	(revision 2246)
@@ -70,4 +70,8 @@
     ]
 
+def drop_caches():
+    with open("/proc/sys/vm/drop_caches", 'w') as f:
+        f.write("1")
+
 def mkdir_p(path): # it's like mkdir -p
     try:
@@ -98,4 +102,5 @@
         self.types = types
     def __enter__(self):
+        drop_caches()
         self.dev = "/dev/%s/%s-root" % (HOST, self.guest)
 
@@ -121,4 +126,5 @@
         os.rmdir(self.mount)
         shell.call("kpartx", "-d", self.dev)
+        drop_caches()
 
 def main():
