Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262431AbUCHJjp (ORCPT ); Mon, 8 Mar 2004 04:39:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262433AbUCHJjp (ORCPT ); Mon, 8 Mar 2004 04:39:45 -0500 Received: from mx1.redhat.com ([66.187.233.31]:14742 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262431AbUCHJjl (ORCPT ); Mon, 8 Mar 2004 04:39:41 -0500 Subject: Re: Some highmem pages still in use after shrink_all_memory()? From: Arjan van de Ven Reply-To: arjanv@redhat.com To: Andy Isaacson Cc: Pavel Machek , linux-kernel@vger.kernel.org, Andrew Morton In-Reply-To: <20040308063639.GA20793@hexapodia.org> References: <20040307144921.GA189@elf.ucw.cz> <20040307164052.0c8a212b.akpm@osdl.org> <20040308063639.GA20793@hexapodia.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yYfa1jM95IYhBjvWg8eN" Organization: Red Hat, Inc. Message-Id: <1078738772.4678.5.camel@laptop.fenrus.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 08 Mar 2004 10:39:32 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 33 --=-yYfa1jM95IYhBjvWg8eN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Note that there are some applications for which it is a *bug* if an > mlocked page gets written out to magnetic media. (gpg, for example.) mlock() does not guarantee things not hitting magnetic media, just as mlock() doesn't guarantee that the physical address of a page doesn't change. mlock guarantees that you won't get hard pagefaults and that you have guaranteed memory for the task at hand (eg for realtime apps and oom-critical stuff) --=-yYfa1jM95IYhBjvWg8eN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBATD9SxULwo51rQBIRAo4hAKCkTGaqJcW5hXGgog4Pqac2Jvx9ZgCgh9Tm tU+TNBbj3d4x1Z/01jXbSTE= =FkkM -----END PGP SIGNATURE----- --=-yYfa1jM95IYhBjvWg8eN-- - 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/