lkml.org 
[lkml]   [2009]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/1] pagemap clear_refs: modify to specify anon or mapped vma clearing
This patch makes the clear_refs proc interface a bit more versatile. It 
adds support for clearing either anonymous, file mapped pages or both.

echo 1 > /proc/pid/clear_refs clears ANON pages
echo 2 > /proc/pid/clear_refs clears file mapped pages
echo 3 > /proc/pid/clear_refs clears all pages

Selectively clearing pages has a measurable impact on performance as it
decreases the number of page walks. We have been using this interface
and this adds flexibility to the user space application implementing the
reference clearing.

Moussa.


\
 
 \ /
  Last update: 2009-07-24 06:05    [W:0.129 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site