Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbVJQUO6 (ORCPT ); Mon, 17 Oct 2005 16:14:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751320AbVJQUO6 (ORCPT ); Mon, 17 Oct 2005 16:14:58 -0400 Received: from smtp.osdl.org ([65.172.181.4]:60613 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751316AbVJQUO5 (ORCPT ); Mon, 17 Oct 2005 16:14:57 -0400 Date: Mon, 17 Oct 2005 13:14:20 -0700 (PDT) From: Linus Torvalds To: Eric Dumazet cc: dipankar@in.ibm.com, Jean Delvare , Serge Belyshev , LKML , Andrew Morton , Manfred Spraul Subject: Re: VFS: file-max limit 50044 reached In-Reply-To: <4353FDE8.8070909@cosmosbay.com> Message-ID: References: <20051017084609.GA6257@in.ibm.com> <43536A6C.102@cosmosbay.com> <20051017103244.GB6257@in.ibm.com> <4353CADB.8050709@cosmosbay.com> <20051017162930.GC13665@in.ibm.com> <4353E6F1.8030206@cosmosbay.com> <4353F7B5.1040101@cosmosbay.com> <4353FDE8.8070909@cosmosbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 27 On Mon, 17 Oct 2005, Eric Dumazet wrote: > > What about call_rcu_bh() which I left unchanged ? At least one of my > production machine cannot live very long unless I have maxbatch = 300, because > of an insane large tcp route cache (and one of its CPU almost filled by > softirq NIC processing) I think we'll have to release 2.6.14 with maxbatch at the high value (10000). Yes, it may screw up some latency stuff, but quite frankly, even with your patch and even ignoring the call_rcu_bh case, I'm convinced you can easily get into the situation where softirqd just doesn't run soon enough. But at least I think I understand _why_ rcu processing was delayed. I think a real fix might have to involve more explicit knowledge of tasklet behaviour and softirq interaction. Linus - 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/