[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a36005b50704210932h3fe775ebv392a407054675eef@mail.gmail.com>
Date: Sat, 21 Apr 2007 09:32:15 -0700
From: "Ulrich Drepper" <drepper@...il.com>
To: "Hugh Dickins" <hugh@...itas.com>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"Rik van Riel" <riel@...hat.com>,
"Jakub Jelinek" <jakub@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: Re: [PATCH] lazy freeing of memory through MADV_FREE 2/2
On 4/21/07, Hugh Dickins <hugh@...itas.com> wrote:
> But the Linux MADV_DONTNEED does throw away
> data from a PROT_WRITE,MAP_PRIVATE mapping (or brk or stack) - those
> changes are discarded, and a subsequent access will revert to zeroes
> or the underlying mapped file. Been like that since before 2.4.0.
I didn't say it changed. I just say that there is a hole in the
current implementation as it does not allow to implement
POSIX_MADV_DONTNEED with anything but a no-op. The
POSIX_MADV_DONTNEED behavior is useful and something IMO should be
added to allow implementing it.
-
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