From: Jakub Kicinski <kuba@kernel.org>
To: Taehee Yoo <ap420073@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH net v2 5/6] netdevsim: use __GFP_NOWARN to avoid memalloc warning
Date: Mon, 27 Jan 2020 20:05:22 -0800 [thread overview]
Message-ID: <20200127200522.3bff7eb6@cakuba> (raw)
In-Reply-To: <20200127143053.1550-1-ap420073@gmail.com>
On Mon, 27 Jan 2020 14:30:53 +0000, Taehee Yoo wrote:
> vfnum buffer size and binary_len buffer size is received by user-space.
> So, this buffer size could be too large. If so, kmalloc will internally
> print a warning message.
> This warning message is actually not necessary for the netdevsim module.
> So, this patch adds __GFP_NOWARN.
> Fixes: 79579220566c ("netdevsim: add SR-IOV functionality")
> Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters")
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
prev parent reply other threads:[~2020-01-28 4:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 14:30 [PATCH net v2 5/6] netdevsim: use __GFP_NOWARN to avoid memalloc warning Taehee Yoo
2020-01-28 4:05 ` Jakub Kicinski [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=20200127200522.3bff7eb6@cakuba \
--to=kuba@kernel.org \
--cc=ap420073@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/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