Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109966303
D33272.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D33272.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 12, 8:34 PM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16616039
Default Alt Text
D33272.diff (1 KB)
Attached To
Mode
D33272: uma: remove unused *item argument from cache_free()
Attached
Detach File
Event Timeline
Log In to Comment