Please sign in to comment.
Switch the emergency allocation from kmem_alloc() to kmem_cache_alloc()
The emergency decompression context is over 192 KB, on Linux kmem_alloc() is not suited to allocations this large. The other use of kmem_alloc() in zstd_alloc() will need an ifdef to use something else on Linux, likely the separate vmem_alloc() PR. Signed-off-by: Allan Jude <firstname.lastname@example.org>
- Loading branch information...