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]
Date:   Thu, 2 Jan 2020 17:50:45 +0000
From:   "Saleem, Shiraz" <shiraz.saleem@...el.com>
To:     Jason Gunthorpe <jgg@...pe.ca>
CC:     "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
        "nhorman@...hat.com" <nhorman@...hat.com>,
        "sassmann@...hat.com" <sassmann@...hat.com>,
        "parav@...lanox.com" <parav@...lanox.com>
Subject: RE: [PATCH v3 19/20] RDMA: Add irdma Kconfig/Makefile and remove
 i40iw

> Subject: Re: [PATCH v3 19/20] RDMA: Add irdma Kconfig/Makefile and remove
> i40iw
> 
> On Thu, Jan 02, 2020 at 04:00:37PM +0000, Saleem, Shiraz wrote:
> > > Subject: Re: [PATCH v3 19/20] RDMA: Add irdma Kconfig/Makefile and
> > > remove i40iw
> > >
> > >
> > > > >  - The whole cqp_compl_thread thing looks really weird
> > > > What is the concern?
> > >
> > > It looks like an open coded work queue
> > >
> >
> > The cqp_compl_thread is not a work queue in the sense that no work is
> > queued to it. It is a thread that is signaled to check for and handle
> > CQP completion events if present.
> 
> How is that not a work queue? The work is the signal to handle CQP completion
> events.
> 

Yes we could use the work as a signal. But this would mean,
we allocate a work item, initialize it to an 'identical' value,
queue it up and then free it.
Why is this better than using a single kthread that just
wake ups to handle the CQP completion?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ