Re: [PATCH] scsi: bnx2i: convert to kworker

2016-08-16 Thread Chad Dupuis
On Fri, 12 Aug 2016, 9:24pm -, Martin K. Petersen wrote: > > "Sebastian" == Sebastian Andrzej Siewior writes: > > Sebastian> On 2016-07-04 19:40:37 [+0200], To linux-scsi@vger.kernel.org > wrote: > >> The driver creates its own per-CPU threads which are updated based on > >> CPU hotplu

Re: [PATCH] scsi: bnx2i: convert to kworker

2016-08-12 Thread Martin K. Petersen
> "Sebastian" == Sebastian Andrzej Siewior writes: Sebastian> On 2016-07-04 19:40:37 [+0200], To linux-scsi@vger.kernel.org wrote: >> The driver creates its own per-CPU threads which are updated based on >> CPU hotplug events. It is also possible to use kworkers and remove >> some of the infr

Re: [PATCH] scsi: bnx2i: convert to kworker

2016-08-12 Thread Sebastian Andrzej Siewior
On 2016-07-04 19:40:37 [+0200], To linux-scsi@vger.kernel.org wrote: > The driver creates its own per-CPU threads which are updated based on CPU > hotplug events. It is also possible to use kworkers and remove some of the > infrastructure get the same job done while saving a few lines of code. pin

[PATCH] scsi: bnx2i: convert to kworker

2016-07-04 Thread Sebastian Andrzej Siewior
The driver creates its own per-CPU threads which are updated based on CPU hotplug events. It is also possible to use kworkers and remove some of the infrastructure get the same job done while saving a few lines of code. The DECLARE_PER_CPU() definition is moved into the header file where it belong