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:
Bosko Milekic 2004-06-01 01:36:26 +00:00
parent 0c56527f65
commit b83e441b9f
1 changed files with 3 additions and 3 deletions

View File

@ -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 * zinit/zfini (unset by default for master zone) with
* uma_zone_set_zinit/zfini() (note subtle 'z' prefix). * uma_zone_set_zinit/zfini() (note subtle 'z' prefix).
* *
* align A bitmask that corisponds to the requested alignment * master A reference to this zone's Master Zone (Primary Zone),
* eg 4 would be 0x3 * which contains the backing Keg for the Secondary Zone
* flags A set of parameters that control the behavior of the zone * being added.
* *
* Returns: * Returns:
* A pointer to a structure which is intended to be opaque to users of * A pointer to a structure which is intended to be opaque to users of