Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757443Ab3FDO6B (ORCPT ); Tue, 4 Jun 2013 10:58:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4522 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908Ab3FDO5z (ORCPT ); Tue, 4 Jun 2013 10:57:55 -0400 Date: Tue, 4 Jun 2013 10:56:56 -0400 From: Jeff Layton To: Christoph Hellwig Cc: "Stefan (metze) Metzmacher" , viro@zeniv.linux.org.uk, matthew@wil.cx, bfields@fieldses.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, cluster-devel@redhat.com, sage@inktank.com, samba-technical@lists.samba.org, Trond.Myklebust@netapp.com, linux-kernel@vger.kernel.org, linux-afs@lists.infradead.org, dhowells@redhat.com, smfrench@gmail.com, linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, akpm@linux-foundation.org, swhiteho@redhat.com Subject: Re: [PATCH v1 11/11] locks: give the blocked_hash its own spinlock Message-ID: <20130604105656.18663efa@corrin.poochiereds.net> In-Reply-To: <20130604144640.GA7730@infradead.org> References: <1370056054-25449-1-git-send-email-jlayton@redhat.com> <1370056054-25449-12-git-send-email-jlayton@redhat.com> <51ADF789.70906@samba.org> <20130604144640.GA7730@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 22 On Tue, 4 Jun 2013 07:46:40 -0700 Christoph Hellwig wrote: > Having RCU for modification mostly workloads never is a good idea, so > I don't think it makes sense to mention it here. > > If you care about the overhead it's worth trying to use per-cpu lists, > though. > Yeah, I looked at those too in an earlier set and it did help some. Moving to a hashtable for the blocked_list really seemed to help the most there, but percpu lists with lglocks or something might help a lot on the file_lock_list. -- Jeff Layton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/