Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Oct 2002 09:55:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Oct 2002 09:55:23 -0500 Received: from ip68-105-128-224.tc.ph.cox.net ([68.105.128.224]:48035 "EHLO Bill-The-Cat.bloom.county") by vger.kernel.org with ESMTP id ; Tue, 29 Oct 2002 09:55:23 -0500 Date: Tue, 29 Oct 2002 08:01:41 -0700 From: Tom Rini To: Amol Kumar Lad Cc: linux-kernel@vger.kernel.org Subject: Re: mlockall() with MCL_FUTURE Message-ID: <20021029150141.GD688@opus.bloom.county> References: <1035940307.2256.25.camel@amol.in.ishoni.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1035940307.2256.25.camel@amol.in.ishoni.com> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 17 On Tue, Oct 29, 2002 at 08:11:46PM -0500, Amol Kumar Lad wrote: > Hi, > I was just going through its implementation. If mlockall() is invoked > with MCL_FUTURE, does it mean that all the existing locked mappings of > process should get unlocked ? Attaching code segment from do_mlockall(). > I am using 2.4.18 kernel There is a problem here which is fixed in 2.4.19, I believe. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ - 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/