From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [patch 06/52] fs: scale files_lock Date: Thu, 24 Jun 2010 09:52:17 +0200 Message-ID: <1277365937.1875.883.camel@laptop> References: <20100624030212.676457061@suse.de> <20100624030726.584973456@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, John Stultz , Frank Mayhar To: npiggin@suse.de Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:38613 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754453Ab0FXHwY convert rfc822-to-8bit (ORCPT ); Thu, 24 Jun 2010 03:52:24 -0400 In-Reply-To: <20100624030726.584973456@suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, 2010-06-24 at 13:02 +1000, npiggin@suse.de wrote: > > One difficulty with this approach is that a file can be removed from the list > by another CPU. We must track which per-cpu list the file is on. Scalability > could suffer if files are frequently removed from different cpu's list. Is this really a lot less complex than what I did with my fine-grained locked list?