Page MenuHomeFreeBSD

D33272.diff
No OneTemporary

D33272.diff

diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -331,7 +331,7 @@
static int zone_import(void *, void **, int, int, int);
static void zone_release(void *, void **, int);
static bool cache_alloc(uma_zone_t, uma_cache_t, void *, int);
-static bool cache_free(uma_zone_t, uma_cache_t, void *, void *, int);
+static bool cache_free(uma_zone_t, uma_cache_t, void *, int);
static int sysctl_vm_zone_count(SYSCTL_HANDLER_ARGS);
static int sysctl_vm_zone_stats(SYSCTL_HANDLER_ARGS);
@@ -4410,7 +4410,7 @@
critical_exit();
return;
}
- } while (cache_free(zone, cache, NULL, item, itemdomain));
+ } while (cache_free(zone, cache, NULL, itemdomain));
critical_exit();
/*
@@ -4504,7 +4504,7 @@
critical_exit();
return;
}
- } while (cache_free(zone, cache, udata, item, itemdomain));
+ } while (cache_free(zone, cache, udata, itemdomain));
critical_exit();
/*
@@ -4645,8 +4645,7 @@
* the caller should retry.
*/
static __noinline bool
-cache_free(uma_zone_t zone, uma_cache_t cache, void *udata, void *item,
- int itemdomain)
+cache_free(uma_zone_t zone, uma_cache_t cache, void *udata, int itemdomain)
{
uma_cache_bucket_t cbucket;
uma_bucket_t newbucket, bucket;

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 12, 8:34 PM (19 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16616039
Default Alt Text
D33272.diff (1 KB)

Event Timeline