Deleted Added
full compact
27c27
< * $FreeBSD: head/sys/vm/uma.h 244024 2012-12-08 09:23:05Z pjd $
---
> * $FreeBSD: head/sys/vm/uma.h 247360 2013-02-26 23:35:27Z attilio $
435c435,436
< * Switches the backing object of a zone
---
> * Reserves the maximum KVA space required by the zone and configures the zone
> * to use a VM_ALLOC_NOOBJ-based backend allocator.
439,440c440
< * obj The VM object to use for future allocations.
< * size The size of the object to allocate.
---
> * nitems The upper limit on the number of items that can be allocated.
443c443
< * 0 if kva space can not be allocated
---
> * 0 if KVA space can not be allocated
447,449c447,449
< * A NULL object can be used and uma will allocate one for you. Setting
< * the size will limit the amount of memory allocated to this zone.
< *
---
> * When the machine supports a direct map and the zone's items are smaller
> * than a page, the zone will use the direct map instead of allocating KVA
> * space.
451,452c451
< struct vm_object;
< int uma_zone_set_obj(uma_zone_t zone, struct vm_object *obj, int size);
---
> int uma_zone_reserve_kva(uma_zone_t zone, int nitems);
524c523
< * Replaces the standard page_alloc or obj_alloc functions for this zone
---
> * Replaces the standard backend allocator for this zone.