FreeBSD Bugzilla – Attachment 170573 Details for
Bug 209716
[patch] zone.9: Document uma_prealloc() and uma_zone_reserve()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
uma.h: Rename uma_prealloc()'s second argument to nitems to increase consistency
uma.h-Rename-uma_prealloc-s-second-argument-to-nitem.diff (text/plain), 949 bytes, created by
Fabian Keil
on 2016-05-23 15:25:45 UTC
(
hide
)
Description:
uma.h: Rename uma_prealloc()'s second argument to nitems to increase consistency
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2016-05-23 15:25:45 UTC
Size:
949 bytes
patch
obsolete
>From 33ca050b36cde0eb63383859ff01bdd11fbd6c9d Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >Date: Sat, 14 May 2016 16:53:50 +0200 >Subject: [PATCH 3/7] uma.h: Rename uma_prealloc()'s second argument to nitems > to increase consistency > >Obtained from: ElectroBSD >--- > sys/vm/uma.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/vm/uma.h b/sys/vm/uma.h >index 4edd0a7..0f3de7a 100644 >--- a/sys/vm/uma.h >+++ b/sys/vm/uma.h >@@ -613,14 +613,14 @@ void uma_zone_set_freef(uma_zone_t zone, uma_free freef); > * > * Arguments: > * zone The zone to fill >- * itemcnt The number of items to reserve >+ * nitems The number of items to reserve > * > * Returns: > * Nothing > * > * NOTE: This is blocking and should only be done at startup > */ >-void uma_prealloc(uma_zone_t zone, int itemcnt); >+void uma_prealloc(uma_zone_t zone, int nitems); > > /* > * Used to determine if a fixed-size zone is exhausted. >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209716
:
170571
| 170573