Deleted Added
full compact
uma.h (148371) uma.h (151104)
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 148371 2005-07-25 00:47:32Z rwatson $
27 * $FreeBSD: head/sys/vm/uma.h 151104 2005-10-08 21:03:54Z des $
28 *
29 */
30
31/*
32 * uma.h - External definitions for the Universal Memory Allocator
33 *
34*/
35

--- 309 unchanged lines hidden (view full) ---

345 * bootmem A pointer to memory used to bootstrap the system.
346 *
347 * Returns:
348 * Nothing
349 *
350 * Discussion:
351 * This memory is used for zones which allocate things before the
352 * backend page supplier can give us pages. It should be
28 *
29 */
30
31/*
32 * uma.h - External definitions for the Universal Memory Allocator
33 *
34*/
35

--- 309 unchanged lines hidden (view full) ---

345 * bootmem A pointer to memory used to bootstrap the system.
346 *
347 * Returns:
348 * Nothing
349 *
350 * Discussion:
351 * This memory is used for zones which allocate things before the
352 * backend page supplier can give us pages. It should be
353 * UMA_SLAB_SIZE * UMA_BOOT_PAGES bytes. (see uma_int.h)
353 * UMA_SLAB_SIZE * boot_pages bytes. (see uma_int.h)
354 *
355 */
356
354 *
355 */
356
357void uma_startup(void *bootmem);
357void uma_startup(void *bootmem, int boot_pages);
358
359/*
360 * Finishes starting up the allocator. This should
361 * be called when kva is ready for normal allocs.
362 *
363 * Arguments:
364 * None
365 *

--- 194 unchanged lines hidden ---
358
359/*
360 * Finishes starting up the allocator. This should
361 * be called when kva is ready for normal allocs.
362 *
363 * Arguments:
364 * None
365 *

--- 194 unchanged lines hidden ---