[ewg] Re: [PATCH ofed-1.3] ehca: change kmem_cache_alloc() call to atomic

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Nov 20 08:08:29 PST 2007


Stefan Roscher wrote:
> This patch fixes a migth_sleep kernel warning with using sdp + ehca device driver.
> We have to change the kmem_cache_alloc() attribute from GFP_KERNEL to GFP_ATOMIC because sdp is running within a spinlock
> during ah allocation.
> 
> regards Stefan
> 
> Signed-off-by: Stefan Roscher <stefan.roscher at de.ibm.com>
> ---
> 

Applied.

Regards,
Vladimir



More information about the ewg mailing list