From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Yurii Zubrytskyi <zyy@google.com>, Jin Qian <jinqian@android.com>,
Lorenzo Stoakes <lstoakes@gmail.com>,
linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org
Subject: Re: [PATCH] goldfish_pipe: allocate memory with GFP_ATOMIC in spinlock context
Date: Tue, 13 Jun 2017 16:02:13 +0200 [thread overview]
Message-ID: <20170613140213.GA29723@kroah.com> (raw)
In-Reply-To: <1497050306-7064-1-git-send-email-khoroshilov@ispras.ru>
On Sat, Jun 10, 2017 at 02:18:26AM +0300, Alexey Khoroshilov wrote:
> get_free_pipe_id_locked() is called with spinlock held, so
> the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid
> sleeping in atomic spinlock context.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
> ---
> drivers/platform/goldfish/goldfish_pipe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This is already in my tree, why resend it?
thanks,
greg k-h
prev parent reply other threads:[~2017-06-13 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 23:18 [PATCH] goldfish_pipe: allocate memory with GFP_ATOMIC in spinlock context Alexey Khoroshilov
2017-06-13 14:02 ` Greg Kroah-Hartman [this message]
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=20170613140213.GA29723@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jinqian@android.com \
--cc=khoroshilov@ispras.ru \
--cc=ldv-project@linuxtesting.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lstoakes@gmail.com \
--cc=zyy@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox