Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262518AbVAUV37 (ORCPT ); Fri, 21 Jan 2005 16:29:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262517AbVAUV2M (ORCPT ); Fri, 21 Jan 2005 16:28:12 -0500 Received: from rproxy.gmail.com ([64.233.170.199]:37873 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S262511AbVAUV1P (ORCPT ); Fri, 21 Jan 2005 16:27:15 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=bqNFZ+He41TC1dYkB8hzJJAIhbOCD1WAtZ5PKKbdGSW0gj3PggvDw9UNrdQ7QxDA2IpFFolAC+3mpmHmAPoQ0wITOkL6e5AkDqlubiGT3/vlYzKI/8Kd928YzHoxgmty0elztlWg4LkAfhTjLMIg/U3wBn6+lNVZxxrA9WQw+jk= Message-ID: <3f250c71050121132713a145e3@mail.gmail.com> Date: Fri, 21 Jan 2005 17:27:11 -0400 From: Mauricio Lin Reply-To: Mauricio Lin To: Andrea Arcangeli Subject: Re: User space out of memory approach Cc: Thomas Gleixner , Marcelo Tosatti , Edjard Souza Mota , LKML , Andrew Morton In-Reply-To: <20050111083837.GE26799@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <3f250c71050110134337c08ef0@mail.gmail.com> <20050110192012.GA18531@logos.cnet> <4d6522b9050110144017d0c075@mail.gmail.com> <20050110200514.GA18796@logos.cnet> <1105403747.17853.48.camel@tglx.tec.linutronix.de> <20050111083837.GE26799@dualathlon.random> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1466 Lines: 38 Hi Andrea, I applied your patch and I am checking your code. It is really a very interesting work. I have a question about the function __set_current_state(TASK_INTERRUPTIBLE) you put in out_of_memory function. Do not you think it would be better put set_current_state instead of __set_current_state function? AFAIK the set_current_state function is more feasible for SMP systems, right? BR, Mauricio Lin. On Tue, 11 Jan 2005 09:38:37 +0100, Andrea Arcangeli wrote: > On Tue, Jan 11, 2005 at 01:35:47AM +0100, Thomas Gleixner wrote: > > confirmed fix for this available. It was posted more than once. > > I posted 6 patches (1/4,2/4,3/4,4/4,5/4,6/4), they should be all > applied to mainline, they're self contained. They add the userspace > ratings too. > > Those patches fixes a longstanding PF_MEMDIE race too and they optimize > used_math as well. > > I'm running with all 6 patches applied with an uptime of 6 days on SMP > and no problems at all. They're all 6 patches applied to the kotd too > (plus the other bits posted on l-k as well for the write throttling, > just one bit is still missing but I'll add it soon): > > ftp://ftp.suse.com/pub/projects/kernel/kotd/i386/HEAD > > - 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/