uma.h (296243) | uma.h (302372) |
---|---|
1/*- 2 * Copyright (c) 2002, 2003, 2004, 2005 Jeffrey Roberson <jeff@FreeBSD.org> 3 * Copyright (c) 2004, 2005 Bosko Milekic <bmilekic@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2002, 2003, 2004, 2005 Jeffrey Roberson <jeff@FreeBSD.org> 3 * Copyright (c) 2004, 2005 Bosko Milekic <bmilekic@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/vm/uma.h 296243 2016-03-01 00:33:32Z glebius $ | 27 * $FreeBSD: head/sys/vm/uma.h 302372 2016-07-06 14:09:49Z nwhitehorn $ |
28 * 29 */ 30 31/* 32 * uma.h - External definitions for the Universal Memory Allocator 33 * 34*/ 35 --- 235 unchanged lines hidden (view full) --- 271 * backend pages and can fail early. 272 */ 273#define UMA_ZONE_VTOSLAB 0x2000 /* Zone uses vtoslab for lookup. */ 274#define UMA_ZONE_NODUMP 0x4000 /* 275 * Zone's pages will not be included in 276 * mini-dumps. 277 */ 278#define UMA_ZONE_PCPU 0x8000 /* | 28 * 29 */ 30 31/* 32 * uma.h - External definitions for the Universal Memory Allocator 33 * 34*/ 35 --- 235 unchanged lines hidden (view full) --- 271 * backend pages and can fail early. 272 */ 273#define UMA_ZONE_VTOSLAB 0x2000 /* Zone uses vtoslab for lookup. */ 274#define UMA_ZONE_NODUMP 0x4000 /* 275 * Zone's pages will not be included in 276 * mini-dumps. 277 */ 278#define UMA_ZONE_PCPU 0x8000 /* |
279 * Allocates mp_ncpus slabs sized to | 279 * Allocates mp_maxid + 1 slabs sized to |
280 * sizeof(struct pcpu). 281 */ 282 283/* 284 * These flags are shared between the keg and zone. In zones wishing to add 285 * new kegs these flags must be compatible. Some are determined based on 286 * physical parameters of the request and may not be provided by the consumer. 287 */ --- 407 unchanged lines hidden --- | 280 * sizeof(struct pcpu). 281 */ 282 283/* 284 * These flags are shared between the keg and zone. In zones wishing to add 285 * new kegs these flags must be compatible. Some are determined based on 286 * physical parameters of the request and may not be provided by the consumer. 287 */ --- 407 unchanged lines hidden --- |