Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750754AbVJQQfm (ORCPT ); Mon, 17 Oct 2005 12:35:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750747AbVJQQfm (ORCPT ); Mon, 17 Oct 2005 12:35:42 -0400 Received: from e33.co.us.ibm.com ([32.97.110.151]:37605 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S1750754AbVJQQfl (ORCPT ); Mon, 17 Oct 2005 12:35:41 -0400 Date: Mon, 17 Oct 2005 21:59:30 +0530 From: Dipankar Sarma To: Linus Torvalds Cc: Eric Dumazet , Jean Delvare , Serge Belyshev , LKML , Andrew Morton , Manfred Spraul Subject: Re: VFS: file-max limit 50044 reached Message-ID: <20051017162930.GC13665@in.ibm.com> Reply-To: dipankar@in.ibm.com References: <20051017084609.GA6257@in.ibm.com> <43536A6C.102@cosmosbay.com> <20051017103244.GB6257@in.ibm.com> <4353CADB.8050709@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.10i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 32 On Mon, Oct 17, 2005 at 09:16:25AM -0700, Linus Torvalds wrote: > > > Absolutely. Keeping a count of (percpu) queued items is basically free if kept > > in the cache line used by list head, so the 'queue length on this cpu' is a > > cheap metric. > > The only downside to TIF_RCUUPDATE is that those damn TIF-flags are > per-architecture (probably largely unnecessary, but while most > architectures don't care at all, others seem to have optimized their > layout so that they can test the work bits more efficiently). So it's a > matter of each architecture being updated with its TIF_xyz flag and their > work function. > > Anybody willing to try? Dipankar apparently has a lot on his plate, this > _should_ be fairly straightforward. Eric? I *had*, when this hit me :) It was one those spurt things. I am going to look at this, but I think we will need to do this with some careful benchmarking. At the moment however I do have another concern - open/close taking too much time as I mentioned in an earlier email. It is nearly 4 times slower than 2.6.13. So, that is first up in my list of things to do at the moment. Thanks Dipankar - 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/