User Tools

Site Tools


proc:clear_refs_file

This is an old revision of the document!


Proc - clear_refs file

The /proc/PID/clear_refs is used to reset the PG_Referenced and ACCESSED/YOUNG bits on both physical and virtual pages associated with a process.

To clear the bits for all the pages associated with the process:

echo 1 > /proc/PID/clear_refs

To clear the bits for the anonymous pages associated with the process:

echo 2 > /proc/PID/clear_refs

To clear the bits for the file mapped pages associated with the process:

echo 3 > /proc/PID/clear_refs

Any other value written to /proc/PID/clear_refs will have no effect.

proc/clear_refs_file.1491387217.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki