From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2001:4f8:3:36:211:85ff:fe63:a549]) by lists.ozlabs.org (Postfix) with ESMTP id B918E1A0743 for ; Wed, 1 Apr 2015 05:08:52 +1100 (AEDT) Date: Tue, 31 Mar 2015 14:08:48 -0400 (EDT) Message-Id: <20150331.140848.1629977835564626654.davem@davemloft.net> To: sowmini.varadhan@oracle.com Subject: Re: [PATCH v8 RFC 0/3] Generic IOMMU pooled allocator From: David Miller In-Reply-To: <20150331180642.GA13314@oracle.com> References: <20150331180642.GA13314@oracle.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: aik@au1.ibm.com, anton@au1.ibm.com, paulus@samba.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sowmini Varadhan Date: Tue, 31 Mar 2015 14:06:42 -0400 > Having bravely said that.. > > the IB team informs me that they see a 10% degradation using > the spin_lock as opposed to the trylock. > > one path going forward is to continue processing this patch-set > as is. I can investigate this further, and later revise the spin_lock > to the trylock, after we are certain that it is good/necessary. > > thoughts? Let's address the trylock vs. spin_lock thing later and use plain spin_lock for now.