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


Groups > linux.kernel > #1264582 > unrolled thread

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

Started byRichard Weinberger <richard@nod.at>
First post2015-11-06 23:00 +0100
Last post2015-11-06 23:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromRichard Weinberger <richard@nod.at>
Date2015-11-06 23:00 +0100
SubjectRe: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
Message-ID<qrXd8-1Iu-5@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web