From: Richard Weinberger <richard@nod.at>
To: Saurabh Sengar <saurabh.truth@gmail.com>,
jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net,
user-mode-linux-user@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [uml-devel] [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
Date: Fri, 6 Nov 2015 22:51:28 +0100 [thread overview]
Message-ID: <563D20E0.6010702@nod.at> (raw)
In-Reply-To: <1446132632-23623-1-git-send-email-saurabh.truth@gmail.com>
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
------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
WARNING: multiple messages have this Message-ID (diff)
From: Richard Weinberger <richard@nod.at>
To: Saurabh Sengar <saurabh.truth@gmail.com>,
jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net,
user-mode-linux-user@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
Date: Fri, 6 Nov 2015 22:51:28 +0100 [thread overview]
Message-ID: <563D20E0.6010702@nod.at> (raw)
In-Reply-To: <1446132632-23623-1-git-send-email-saurabh.truth@gmail.com>
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
next prev parent reply other threads:[~2015-11-06 21:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 15:30 [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held Saurabh Sengar
2015-11-06 21:51 ` Richard Weinberger [this message]
2015-11-06 21:51 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=563D20E0.6010702@nod.at \
--to=richard@nod.at \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=saurabh.truth@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.