Re: [PATCH] ASoC: Intel: sst: fix kmalloc call with wrong flags

2019-06-07 Thread Pierre-Louis Bossart
On 6/7/19 5:19 PM, Alex Levin wrote: When calling kmalloc with GFP_KERNEL in case CONFIG_SLOB is unset, kmem_cache_alloc_trace is called. In case CONFIG_TRACING is set, kmem_cache_alloc_trace will ball slab_alloc, which will call slab_pre_alloc_hook which might_sleep_if. The context in which

Re: [PATCH] ASoC: Intel: sst: fix kmalloc call with wrong flags

2019-06-07 Thread Curtis Malainey
On Fri, Jun 7, 2019 at 3:19 PM Alex Levin wrote: > > When calling kmalloc with GFP_KERNEL in case CONFIG_SLOB is unset, > kmem_cache_alloc_trace is called. > > In case CONFIG_TRACING is set, kmem_cache_alloc_trace will ball nit: *call > slab_alloc, which will call slab_pre_alloc_hook which might_s

[PATCH] ASoC: Intel: sst: fix kmalloc call with wrong flags

2019-06-07 Thread Alex Levin
When calling kmalloc with GFP_KERNEL in case CONFIG_SLOB is unset, kmem_cache_alloc_trace is called. In case CONFIG_TRACING is set, kmem_cache_alloc_trace will ball slab_alloc, which will call slab_pre_alloc_hook which might_sleep_if. The context in which it is called in this case, the intel_sst_