Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755344AbZFEFNn (ORCPT ); Fri, 5 Jun 2009 01:13:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754619AbZFEFN3 (ORCPT ); Fri, 5 Jun 2009 01:13:29 -0400 Received: from dallas.jonmasters.org ([72.29.103.172]:52883 "EHLO dallas.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755208AbZFEFN2 (ORCPT ); Fri, 5 Jun 2009 01:13:28 -0400 Subject: Re: [PATCH] - support inheritance of mlocks across fork/exec V2 From: Jon Masters To: KOSAKI Motohiro Cc: Lee Schermerhorn , linux-mm@kvack.org, linux-kernel , Andrew Morton , riel@redhat.com, hugh@veritas.com In-Reply-To: <20090605134641.FC25.A69D9226@jp.fujitsu.com> References: <1228331069.6693.73.camel@lts-notebook> <1244176757.11597.24.camel@localhost.localdomain> <20090605134641.FC25.A69D9226@jp.fujitsu.com> Content-Type: text/plain Organization: World Organi[sz]ation Of Broken Dreams Date: Fri, 05 Jun 2009 01:12:49 -0400 Message-Id: <1244178769.11597.31.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jonathan@jonmasters.org X-SA-Exim-Scanned: No (on dallas.jonmasters.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1557 Lines: 38 On Fri, 2009-06-05 at 13:49 +0900, KOSAKI Motohiro wrote: > > On Wed, 2008-12-03 at 14:04 -0500, Lee Schermerhorn wrote: > > > > > Add support for mlockall(MCL_INHERIT|MCL_RECURSIVE): > > > > FWIW, I really liked this patch series. And I think there is still value > > in a generic "mlock" wrapper utility that I can use. Sure, the later on > > containers suggestions are all wonderful in theory but I don't see that > > that went anywhere either (and I disagree that we can't trust people to > > use this right without doing silly things) - if I'm really right that > > this got dropped on the floor, can we resurrect it in .31 please? > > I guess Lee is really really busy now. Who isn't? :) > Can you make V3 patch instead? I'm happy to rebase onto a recent kernel and repost if it's not something that's instantly going to get dropped on the floor. I thought about this patch series a few minutes ago when I found myself recompiling a certain piece of audio software and realized there's no reason I shouldn't just be able to e.g. just do the following: mlock --all -- pulseaudio --start --high-priority=1 As a test of my sanity in this case, but there are other times when I'm running software on RT kernels and would love to have that as a wrapper to temporarily prevent a performance hit. Jon. -- 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/