From: Ido Schimmel <idosch@mellanox.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: "David S . Miller" <davem@davemloft.net>,
mlxsw <mlxsw@mellanox.com>,
Vladyslav Tarasiuk <vladyslavt@mellanox.com>,
linux-netdev <netdev@vger.kernel.org>,
Aya Levin <ayal@mellanox.com>,
Leon Romanovsky <leonro@mellanox.com>
Subject: Re: [PATCH net] net/mlxfw: Fix out-of-memory error in mfa2 flash burning
Date: Thu, 26 Dec 2019 09:16:57 +0000 [thread overview]
Message-ID: <20191226091655.GA35898@splinter> (raw)
In-Reply-To: <20191226084156.9561-1-leon@kernel.org>
On Thu, Dec 26, 2019 at 10:41:56AM +0200, Leon Romanovsky wrote:
> From: Vladyslav Tarasiuk <vladyslavt@mellanox.com>
>
> The burning process requires to perform internal allocations of large
> chunks of memory. This memory doesn't need to be contiguous and can be
> safely allocated by vzalloc() instead of kzalloc(). This patch changes
> such allocation to avoid possible out-of-memory failure.
>
> Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash process")
> Signed-off-by: Vladyslav Tarasiuk <vladyslavt@mellanox.com>
> Reviewed-by: Aya Levin <ayal@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
next prev parent reply other threads:[~2019-12-26 9:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-26 8:41 [PATCH net] net/mlxfw: Fix out-of-memory error in mfa2 flash burning Leon Romanovsky
2019-12-26 9:16 ` Ido Schimmel [this message]
2019-12-26 19:50 ` David Miller
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=20191226091655.GA35898@splinter \
--to=idosch@mellanox.com \
--cc=ayal@mellanox.com \
--cc=davem@davemloft.net \
--cc=leon@kernel.org \
--cc=leonro@mellanox.com \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=vladyslavt@mellanox.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 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.