[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq18szu4ieo.fsf@oracle.com>
Date: Tue, 08 Jan 2019 22:30:23 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: John Garry <john.garry@...wei.com>
Cc: <jejb@...ux.vnet.ibm.com>, <martin.petersen@...cle.com>,
<linuxarm@...wei.com>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>
Subject: Re: [PATCH v2] scsi: sd: Make protection lookup tables static and relocate functions
John,
> Currently the protection lookup tables in sd_prot_flag_mask() and
> sd_prot_op() are declared as non-static. As such, they will be rebuilt
> for each respective function call.
>
> Optimise by making them static.
Applied to 5.1/scsi-queue, thank you!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists