Define UMA_MD_SMALL_ALLOC so that uma_small_alloc and uma_small_free will

be used for zones that allocate objects of less 1 page.  The biggest advantage
of this is that all of a sudden the majority of kernel malloc-ed data doesn't
need kva allocated for it.  Besides microbenchmarks I haven't seen a measurable
performance improvement from doing this.
This commit is contained in:
jake 2002-12-27 19:31:26 +00:00
parent e50c4bb112
commit e5ac7a26a9

View File

@ -177,6 +177,8 @@
#define VM_INITIAL_PAGEIN 16
#endif
#define UMA_MD_SMALL_ALLOC
extern vm_offset_t vm_max_kernel_address;
#endif /* !_MACHINE_VMPARAM_H_ */