diff options
author | glebius <glebius@FreeBSD.org> | 2014-02-10 19:59:46 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-02-10 19:59:46 +0000 |
commit | 45bf1cc68359f3dc27c38acb53ea225c5af1e2c5 (patch) | |
tree | 4240e3275181ee53a1a8927c8ca9199e8ea5e403 /sys/vm | |
parent | 613c5f4e530eb96436c21b127bd7474506d874bd (diff) | |
download | FreeBSD-src-45bf1cc68359f3dc27c38acb53ea225c5af1e2c5.zip FreeBSD-src-45bf1cc68359f3dc27c38acb53ea225c5af1e2c5.tar.gz |
Create two public UMA_ZONE_PCPU zones: 64 bit sized and pointer sized.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/vm')
-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 2de9a47..5012d98 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. |