Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

From: Richard Weinberger
Date: Fri Nov 06 2015 - 16:52:16 EST


Am 29.10.2015 um 16:30 schrieb Saurabh Sengar:
> since GFP_KERNEL with GFP_ATOMIC while spinlock is held,
> as code while holding a spinlock should be atomic.
> GFP_KERNEL may sleep and can cause deadlock,
> where as GFP_ATOMIC may fail but certainly avoids deadlockdex f70dd54..d898f6c 100644
>
> Signed-off-by: Saurabh Sengar <saurabh.truth@xxxxxxxxx>

Applied!

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/