[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18d004e8-fdfe-fb20-48a5-6e125b26ed0d@huawei.com>
Date: Mon, 6 Dec 2021 14:30:20 +0000
From: John Garry <john.garry@...wei.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH 3/3] scsi: hisi_sas: Use non-atomic bitmap functions when
possible
On 26/11/2021 21:18, Christophe JAILLET wrote:
> All uses of the 'hisi_hba->slot_index_tags' bitmap are protected with the
> 'hisi_hba->lock' spinlock.
>
> So prefer the non-atomic '__[set|clear]_bit()' functions to save a few
> cycles.
>
> Signed-off-by: Christophe JAILLET<christophe.jaillet@...adoo.fr>
Acked-by: John Garry <john.garry@...wei.com>
Powered by blists - more mailing lists