mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Fix a comment above uma_zsecond_create(), describing its arguments.
It doesn't take 'align' and 'flags' but 'master' instead, which is a reference to the Master Zone, containing the backing Keg. Pointed out by: Tim Robbins (tjr)
This commit is contained in:
parent
0c56527f65
commit
b83e441b9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129913
@ -185,9 +185,9 @@ uma_zone_t uma_zcreate(char *name, size_t size, uma_ctor ctor, uma_dtor dtor,
|
||||
* zinit/zfini (unset by default for master zone) with
|
||||
* uma_zone_set_zinit/zfini() (note subtle 'z' prefix).
|
||||
*
|
||||
* align A bitmask that corisponds to the requested alignment
|
||||
* eg 4 would be 0x3
|
||||
* flags A set of parameters that control the behavior of the zone
|
||||
* master A reference to this zone's Master Zone (Primary Zone),
|
||||
* which contains the backing Keg for the Secondary Zone
|
||||
* being added.
|
||||
*
|
||||
* Returns:
|
||||
* A pointer to a structure which is intended to be opaque to users of
|
||||
|
Loading…
Reference in New Issue
Block a user