[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <00fc95b9c6f5da7ec5844b9eccf4488d4a37efd8.camel@mellanox.com>
Date: Wed, 8 Apr 2020 19:36:07 +0000
From: Saeed Mahameed <saeedm@...lanox.com>
To: "schnelle@...ux.ibm.com" <schnelle@...ux.ibm.com>,
Feras Daoud <ferasda@...lanox.com>,
Alex Vesker <valex@...lanox.com>
CC: Eran Ben Elisha <eranbe@...lanox.com>,
Moshe Shemesh <moshe@...lanox.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"leon@...nel.org" <leon@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC 1/1] net/mlx5: Fix failing fw tracer allocation on s390
On Tue, 2020-04-07 at 10:01 +0200, Niklas Schnelle wrote:
> On s390 FORCE_MAX_ZONEORDER is 9 instead of 11, thus a larger
> kzalloc()
> allocation as done for the firmware tracer will always fail.
>
> Looking at mlx5_fw_tracer_save_trace(), it is actually the driver
> itself
> that copies the debug data into the trace array and there is no need
> for
> the allocation to be contiguous in physical memory. We can therefor
> use
> kvzalloc() instead of kzalloc() and get rid of the large contiguous
> allcoation.
>
This looks fine and very straight forward.. i don't expect any issue
with this.
Please provide a proper "Fixes:" tag and resubmit to net without the
[RFC].
Thanks
Powered by blists - more mailing lists