From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Subject: Re: [PATCH 01/11] scsi/fcoe: lock online CPUs in fcoe_percpu_clean() Date: Fri, 8 Apr 2016 15:30:24 +0200 Message-ID: <5707B270.3080006@linutronix.de> References: <1457710143-29182-1-git-send-email-bigeasy@linutronix.de> <1457710143-29182-2-git-send-email-bigeasy@linutronix.de> <20160311161704.GA5083@infradead.org> <56E2F30F.5030108@linutronix.de> <20160315081940.GB9136@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Return-path: Received: from www.linutronix.de ([62.245.132.108]:51839 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757599AbcDHNag (ORCPT ); Fri, 8 Apr 2016 09:30:36 -0400 In-Reply-To: <20160315081940.GB9136@infradead.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig Cc: linux-scsi@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , rt@linutronix.de, Vasu Dev , fcoe-devel@open-fcoe.org On 03/15/2016 09:19 AM, Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 05:32:15PM +0100, Sebastian Andrzej Siewior wrote: >> alloc_workqueue() in setup and then queue_work_on(cpu, , item)? item >> should be struct work_struct but all I have is a skb. Is there an easy >> way to get this attached? > > Good question. There is skb->cb, but it looks like it doesn't have > space for an additional work_item in the fcoe case. Maybe have > a per-cpu work_struct and keep all the list handling as-is for now? Okay. Let me try this. What about the few fixes from the series (which apply before the rework to smbboot theads)? Sebastian