[PATCH v3 4/6] mm: Enhance per process reclaim to consider shared pages

2013-04-24 Thread Minchan Kim
Some pages could be shared by several processes. (ex, libc) In case of that, it's too bad to reclaim them from the beginnig. This patch causes VM to keep them on memory until last task try to reclaim them so shared pages will be reclaimed only if all of task has gone swapping out. This feature

[PATCH v3 4/6] mm: Enhance per process reclaim to consider shared pages

2013-04-24 Thread Minchan Kim
Some pages could be shared by several processes. (ex, libc) In case of that, it's too bad to reclaim them from the beginnig. This patch causes VM to keep them on memory until last task try to reclaim them so shared pages will be reclaimed only if all of task has gone swapping out. This feature