On Tue, May 8, 2012 at 11:32 AM, Minchan Kim minchan@kernel.org wrote:
The idea is that we can make some levels in advane and explain it to user
Level 1: It a immediate response to user when kernel decide there are not fast-reclaimable pages any more. Level 2: It's rather slower response than level 1 but kernel will consider it as reclaimable target Level 3: It's slowest response because kernel will consider page needed long time to reclaim as reclaimable target.
It doesn't expose any internal of kernel and can implment it in internal. For simple example,
Level 1: non-mapped clean page Level 2: Level 1 + mapped clean-page Level 3: Level 2 + dirty pages
So users of vmevent_fd can select his level.
I'm totally OK with pursuing something like this if people like Leonid and Anton think it's useful for their use-cases.