merge lz4 compression from illumos
use kmem_cache_alloc