On 04/22/2013 01:45 AM, Minchan Kim wrote: > +The /proc/PID/reclaim is used to reclaim pages in this process. > +To reclaim file-backed pages, > + > echo 1 > /proc/PID/reclaim > + > +To reclaim anonymous pages, > + > echo 2 > /proc/PID/reclaim > + > +To reclaim both pages, > + > echo 3 > /proc/PID/reclaim This seems to be in the same spirit as /proc/sys/vm/drop_caches. That's not a sin in and of itself. But, why use numbers here? Any chance I could talk you in to using some strings, say like: echo 'anonymous' > /proc/PID/reclaim echo 'anonymous|file' > /proc/PID/reclaim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>