Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264582

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

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
Date 2015-11-06 23:00 +0100
Message-ID <qrXd8-1Iu-5@gated-at.bofh.it> (permalink)
References <qnH6W-3es-15@gated-at.bofh.it> <qoXt0-20k-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>

Applied!

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when  spinlock is held Richard Weinberger <richard@nod.at> - 2015-11-06 23:00 +0100

csiph-web