On 04/10/2017 07:12 PM, Sebastian Andrzej Siewior wrote: > This is not driven by the hotplug conversation but while I am at it > looks like a good candidate. Converting the thread to a workqueue user > removes also the kthread member from struct fcoe_percpu_s. > > This driver uses the struct fcoe_percpu_s but it does not need the > crc_eof_page member, only the work item and fcoe_rx_list. So it is > removed there. > > We had one thread so we only use the workqueue on the current CPU. If > someone knows how spread this nicely, it would only require the usage of > schedule_work_on() instead schedule_work() :) > > This patch was only compile-tested due to -ENODEV. > > Cc: qlogic-storage-upstr...@qlogic.com > Cc: Christoph Hellwig <h...@lst.de> > Cc: fcoe-de...@open-fcoe.org > Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de> > --- Reviewed-by: Johannes Thumshirn <jthumsh...@suse.de>
- [REEEEPOST] bnx2i + bnx2fc: convert to generic w... Sebastian Andrzej Siewior
- [PATCH 1/5] scsi: bnx2i: convert to workque... Sebastian Andrzej Siewior
- Re: [PATCH 1/5] scsi: bnx2i: convert to... Christoph Hellwig
- Re: [PATCH 1/5] scsi: bnx2i: convert to... Johannes Thumshirn
- [PATCH 5/5] scsi: bnx2fc: convert bnx2fc_l2... Sebastian Andrzej Siewior
- Re: [PATCH 5/5] scsi: bnx2fc: convert b... Christoph Hellwig
- Re: [PATCH 5/5] scsi: bnx2fc: convert b... Johannes Thumshirn
- [PATCH 4/5] scsi: bnx2fc: annoate unlock + ... Sebastian Andrzej Siewior
- Re: [PATCH 4/5] scsi: bnx2fc: annoate u... Christoph Hellwig
- Re: [PATCH 4/5] scsi: bnx2fc: annoate u... Johannes Thumshirn
- [PATCH 2/5] scsi: bnx2fc: convert per-CPU t... Sebastian Andrzej Siewior
- Re: [PATCH 2/5] scsi: bnx2fc: convert p... Christoph Hellwig
- Re: [PATCH 2/5] scsi: bnx2fc: convert p... Johannes Thumshirn
- [PATCH 3/5] scsi: bnx2fc: clean up header d... Sebastian Andrzej Siewior
- Re: [PATCH 3/5] scsi: bnx2fc: clean up ... Christoph Hellwig
- Re: [PATCH 3/5] scsi: bnx2fc: clean up ... Johannes Thumshirn
- Re: [REEEEPOST] bnx2i + bnx2fc: convert to ... Chad Dupuis