lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MWHPR11MB0029F5F9C9AC249F2BC3E981E9609@MWHPR11MB0029.namprd11.prod.outlook.com>
Date:   Fri, 21 Apr 2023 14:29:06 +0000
From:   "Saleem, Shiraz" <shiraz.saleem@...el.com>
To:     Tejun Heo <tj@...nel.org>,
        "Ismail, Mustafa" <mustafa.ismail@...el.com>,
        Jason Gunthorpe <jgg@...pe.ca>
CC:     Leon Romanovsky <leon@...nel.org>,
        "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "kernel-team@...com" <kernel-team@...com>
Subject: RE: [PATCH] RDMA/irdma: Drop spurious WQ_UNBOUND from
 alloc_ordered_workqueue() call

> Subject: [PATCH] RDMA/irdma: Drop spurious WQ_UNBOUND from
> alloc_ordered_workqueue() call
> 
> Workqueue is in the process of cleaning up the distinction between unbound
> workqueues w/ @nr_active==1 and ordered workqueues. Explicit
> WQ_UNBOUND isn't needed for alloc_ordered_workqueue() and will trigger a
> warning in the future. Let's remove it. This doesn't cause any functional
> changes.
> 
> Signed-off-by: Tejun Heo <tj@...nel.org>
> ---
>  drivers/infiniband/hw/irdma/hw.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/drivers/infiniband/hw/irdma/hw.c
> +++ b/drivers/infiniband/hw/irdma/hw.c
> @@ -1901,8 +1901,8 @@ int irdma_ctrl_init_hw(struct irdma_pci_
>  			break;
>  		rf->init_state = CEQ0_CREATED;
>  		/* Handles processing of CQP completions */
> -		rf->cqp_cmpl_wq = alloc_ordered_workqueue("cqp_cmpl_wq",
> -						WQ_HIGHPRI |
> WQ_UNBOUND);
> +		rf->cqp_cmpl_wq =
> +			alloc_ordered_workqueue("cqp_cmpl_wq",
> WQ_HIGHPRI);
>  		if (!rf->cqp_cmpl_wq) {
>  			status = -ENOMEM;
>  			break;

Acked-by: Shiraz Saleem <shiraz.saleem@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ