Hello Dave, On Tue, Apr 23, 2013 at 07:33:53AM -0700, Dave Hansen wrote: > On 04/22/2013 06:53 PM, Minchan Kim wrote: > > echo 'file' > /proc/PID/reclaim > > echo 'anon' > /proc/PID/reclaim > > echo 'both' > /proc/PID/reclaim > > > > For range reclaim, > > > > echo $((1<<20)) 8192 > /proc/PID/reclaim. > > > > IOW, we don't need any type for range reclaim because only thing > > user takes care is address range which has mapped page regardless > > of that it's anon or file. > > > > Does it make sense to you? > > That looks very nice! Although, I'd probably use 'all' instead of > 'both'. It leaves you more wiggle room to add more types in the future, > like volatile pages. Fair enough. Thanks for the review. I just sent a new. -- Kind regards, Minchan Kim -- 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>