CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2009/08/25 12:02:42

Modified files:
        sys/kern       : kern_malloc.c 

Log message:
If option DIAGNOSTIC, do not bother doing sanity checks, including an
uvm_map_checkprot() call, if the memory we're about to return has just been
allocated with uvm_km_kmemalloc() instead of coming from the freelist.

No functional change but a very small speedup when the freelist for the given
bucket is empty.

Reply via email to