[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a36005b50704220955u7153ea76sef403442bbc805a5@mail.gmail.com>
Date: Sun, 22 Apr 2007 09:55:18 -0700
From: "Ulrich Drepper" <drepper@...il.com>
To: "Christoph Hellwig" <hch@...radead.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Rik van Riel" <riel@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] lazy freeing of memory through MADV_FREE
On 4/22/07, Christoph Hellwig <hch@...radead.org> wrote:
> Why isn't MADV_FREE defined to 5 for linux? It's our first free madv
> value? Also the behaviour should better match the one in solaris or BSD,
> the last thing we need is slightly different behaviour from operating
> systems supporting this for ages.
The behavior should indeed be identical. Both implementations
restrict MADV_FREE to work on anonymous memory and it is unspecified
whether a renewed access yields to a zerod page being created or
whether the old content is still there. So, just use 0x5 for both the
Linux and Solaris version on sparc.
-
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