Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826Ab0LVBHi (ORCPT ); Tue, 21 Dec 2010 20:07:38 -0500 Received: from lennier.cc.vt.edu ([198.82.162.213]:40783 "EHLO lennier.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751658Ab0LVBHh (ORCPT ); Tue, 21 Dec 2010 20:07:37 -0500 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3-dev To: Michel Lespinasse Cc: Andrew Morton , linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, linux-mm@kvack.org Subject: Re: mmotm 2010-12-16 - breaks mlockall() call In-Reply-To: Your message of "Mon, 20 Dec 2010 22:26:29 PST." <20101221062629.GA17066@google.com> From: Valdis.Kletnieks@vt.edu References: <201012162329.oBGNTdPY006808@imap1.linux-foundation.org> <131961.1292667059@localhost> <20101221062629.GA17066@google.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1292980045_5103P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 21 Dec 2010 20:07:25 -0500 Message-ID: <22255.1292980045@localhost> X-Junkmail-Status: score=10/50, host=steiner.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020202.4D114F4F.006F,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 37 --==_Exmh_1292980045_5103P Content-Type: text/plain; charset=us-ascii On Mon, 20 Dec 2010 22:26:29 PST, Michel Lespinasse said: > So the trivial fix to make mlockall behave identically as before could be > as follows: > > Signed-off-by: Michel Lespinasse > > diff --git a/mm/mlock.c b/mm/mlock.c > index db0ed84..168b750 100644 Confirming this makes the mlockall() call in my initramfs behave as before... Feel free to stick in a: Tested-by: Valdis Kletnieks --==_Exmh_1292980045_5103P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFNEU9NcC3lWbTT17ARAukQAJ0SzRwSTEHrlkx0IFGT/XdMs/DjkgCgyQKE +aNo7wfO+CAaBWGZxFtxhBI= =SPg9 -----END PGP SIGNATURE----- --==_Exmh_1292980045_5103P-- -- 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/