[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171224115730.GQ2942@mtr-leonro.local>
Date: Sun, 24 Dec 2017 13:57:30 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: faisal.latif@...el.com, shiraz.saleem@...el.com,
dledford@...hat.com, jgg@...pe.ca, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i40iw: Replace mdelay with msleep in i40iw_wait_pe_ready
On Sun, Dec 24, 2017 at 06:39:40PM +0800, Jia-Ju Bai wrote:
> i40iw_wait_pe_ready is not called in an interrupt handler
> nor holding a spinlock.
> The function mdelay in it can be replaced with msleep,
> to reduce busy wait.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@...il.com>
> ---
> drivers/infiniband/hw/i40iw/i40iw_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists