Re: [PATCH -next] misc: ibmvmc: Use GFP_ATOMIC under spin lock

2018-05-29 Thread Bryant G. Ly
On 5/26/18 4:45 AM, Wei Yongjun wrote: > The function alloc_dma_buffer() is called from ibmvmc_add_buffer(), > in which a spin lock be held here, so we should use GFP_ATOMIC when > a lock is held. > > Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)") > Signed-off-by:

[PATCH -next] misc: ibmvmc: Use GFP_ATOMIC under spin lock

2018-05-26 Thread Wei Yongjun
The function alloc_dma_buffer() is called from ibmvmc_add_buffer(), in which a spin lock be held here, so we should use GFP_ATOMIC when a lock is held. Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)") Signed-off-by: Wei Yongjun ---