Re: [PATCH 3/3] vmevent: Implement special low-memory attribute
From: Pekka Enberg
Date: Tue May 08 2012 - 05:27:38 EST
On Tue, May 8, 2012 at 11:32 AM, Minchan Kim <minchan@xxxxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/