lkml.org 
[lkml]   [2007]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: missing madvise functionality
Ulrich Drepper wrote:
> A solution for this problem is a madvise() operation with the following
> property:
>
> - the content of the address range can be discarded
>
> - if an access to a page in the range happens in the future it must
> succeed. The old page content can be provided or a new, empty page
> can be provided

Doesn't this conflict with disabling overcommit?

If the page is guaranteed to be available, obviously it must count as
being commited, so this is not equivalent to real freeing.

Mark
-
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/

\
 
 \ /
  Last update: 2007-04-04 04:57    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site