Project

General

Profile

Feature #6818

add MADV_PURGE to provide busted Linux MADV_DONTNEED semantics

Added by Robert Mustacchi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2016-03-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

To support lx branded zones as well as the porting of other applications, we should add support for the rather ill-thought Linux MADV_DONTNEED. As their semantics are different from those of ours we instead add this as a MADV_PURGE option.

#1

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed

git commit 8905f42caceb9f470ffaa19e5f6c9fb6184d12c0

commit  8905f42caceb9f470ffaa19e5f6c9fb6184d12c0
Author: Bryan Cantrill <bryan@joyent.com>
Date:   2016-03-29T20:55:13.000Z

    6818 add MADV_PURGE to provide busted Linux MADV_DONTNEED semantics
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Cody Mello <melloc@joyent.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF