[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46152099.7060005@redhat.com>
Date: Thu, 05 Apr 2007 12:15:21 -0400
From: Rik van Riel <riel@...hat.com>
To: Jakub Jelinek <jakub@...hat.com>
CC: Ulrich Drepper <drepper@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
linux-mm@...ck.org, Hugh Dickins <hugh@...itas.com>
Subject: Re: missing madvise functionality
Jakub Jelinek wrote:
> + /* FIXME: POSIX says that MADV_DONTNEED cannot throw away data. */
> case MADV_DONTNEED:
> + case MADV_FREE:
> error = madvise_dontneed(vma, prev, start, end);
> break;
>
> I think you should only use the new behavior for madvise MADV_FREE, not for
> MADV_DONTNEED.
I will. However, we need to double-use MADV_DONTNEED in this
patch for now, so Ulrich's test glibc can be used easily :)
--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
-
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