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:
parent
e50c4bb112
commit
e5ac7a26a9
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user