From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751937AbcEYT2M (ORCPT ); Wed, 25 May 2016 15:28:12 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:34811 "EHLO mail-yw0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbcEYT2K (ORCPT ); Wed, 25 May 2016 15:28:10 -0400 Date: Wed, 25 May 2016 15:28:07 -0400 From: Tejun Heo To: Peter Zijlstra Cc: Linus Torvalds , Linux Kernel Mailing List , Manfred Spraul , Davidlohr Bueso , Paul McKenney , Will Deacon , Boqun Feng , Waiman Long , Pablo Neira Ayuso , Patrick McHardy , David Miller , Oleg Nesterov , netfilter-devel@vger.kernel.org, Sasha Levin , hofrat@osadl.org Subject: Re: [RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users Message-ID: <20160525192807.GG3354@mtj.duckdns.org> References: <20160524142723.178148277@infradead.org> <20160524143649.608476390@infradead.org> <20160524162207.GB3354@mtj.duckdns.org> <20160524165836.GC15189@worktop.bitpit.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160524165836.GC15189@worktop.bitpit.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2016 at 06:58:36PM +0200, Peter Zijlstra wrote: > On Tue, May 24, 2016 at 12:22:07PM -0400, Tejun Heo wrote: > > A delta but that particular libata usage is probably not needed now. > > The path was used while libata was gradually adding error handlers to > > the low level drivers. I don't think we don't have any left w/o one > > at this point. I'll verify and get rid of that usage. > > OK, that would be great; I was sorta lost in there, but it looked like > if you need the spin_unlock_wait() you also need the extra barrier > thing. > > If you can remove it, better still. Unfortunately, ipr SAS driver is still using the old error handling path, so please include libata in the conversion for now. I'll see if ipr can be converted. Thanks. -- tejun