|author||Vincent Sanders <firstname.lastname@example.org>||2014-05-29 14:00:13 +0100|
|committer||Vincent Sanders <email@example.com>||2014-05-29 14:00:13 +0100|
attempt to purge low level cache on out of memory during fetch
Diffstat (limited to 'content/llcache.h')
1 files changed, 7 insertions, 3 deletions
diff --git a/content/llcache.h b/content/llcache.h
index a9ed1861a..4a3521637 100644
@@ -246,11 +246,15 @@ void llcache_finalise(void);
- * Cause the low-level cache to attempt to perform cleanup. No
- * guarantees are made as to whether or not cleanups will take
+ * Cause the low-level cache to attempt to perform cleanup.
+ * No guarantees are made as to whether or not cleanups will take
* place and what, if any, space savings will be made.
+ * \param purge Any objects held in the cache that are safely removable will
+ * be freed regardless of the configured size limits.
+void llcache_clean(bool purge);
* Retrieve a handle for a low-level cache object