[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a36005b50706282209p52cd3251l7ce2d90ca700cd99@mail.gmail.com>
Date: Thu, 28 Jun 2007 22:09:58 -0700
From: "Ulrich Drepper" <drepper@...il.com>
To: "Rik van Riel" <riel@...hat.com>
Cc: "Kyle Moffett" <mrmacman_g4@....com>,
"Davide Libenzi" <davidel@...ilserver.org>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Andy Isaacson" <adi@...apodia.org>
Subject: Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness
On 6/28/07, Rik van Riel <riel@...hat.com> wrote:
> That wants MAP_PRIVATE so that the kernel can also decide to not
> swap these pages out to an unencrypted swap area.
That's not what MAP_PRIVATE means. MAP_PRIVATE is the opposite of
MAP_SHARED. It's meaningless for anonymous memory (which is what
ssh-agent etc would use) and for file-backed data it definitely allows
swapping unless you use mlock().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists