diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-02-10 19:59:46 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-02-10 19:59:46 +0000 |
commit | 49fef6a202a5c2f4113940f87de5d8765897ab3b (patch) | |
tree | 4240e3275181ee53a1a8927c8ca9199e8ea5e403 /sys/vm/uma.h | |
parent | f947570e3532e0545146fa8abd7d4366151eb282 (diff) | |
download | src-49fef6a202a5c2f4113940f87de5d8765897ab3b.tar.gz src-49fef6a202a5c2f4113940f87de5d8765897ab3b.zip |
Create two public UMA_ZONE_PCPU zones: 64 bit sized and pointer sized.
Sponsored by: Nginx, Inc.
Notes
Notes:
svn path=/head/; revision=261725
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r-- | sys/vm/uma.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h index 2de9a47851ea..5012d98fbdc3 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -636,6 +636,12 @@ int uma_zone_exhausted(uma_zone_t zone); int uma_zone_exhausted_nolock(uma_zone_t zone); /* + * Common UMA_ZONE_PCPU zones. + */ +extern uma_zone_t pcpu_zone_64; +extern uma_zone_t pcpu_zone_ptr; + +/* * Exported statistics structures to be used by user space monitoring tools. * Statistics stream consists of a uma_stream_header, followed by a series of * alternative uma_type_header and uma_type_stat structures. |