Re: [PATCH 06/10] ksm: identify PageKsm pages

From: Andrea Arcangeli
Date: Tue Jul 21 2009 - 14:01:17 EST


On Tue, Jul 21, 2009 at 01:55:13PM -0400, Rik van Riel wrote:
> I guess that if they are to remain unswappable, they
> should go onto the unevictable list.

They should indeed. Not urgent but it will optimize the vm (as in
virtual memory) cpu load a bit.

> Then again, I'm guessing this is all about to change
> in not too much time :)

That's my point, current implementation of PageKsm don't seem to last
long, and if we keep logic the same it'll likely happen soon that
PageKsm != PageAnon on a Ksm page. So I'd rather keep it different
even now, given I doubt it's moving the needle anywhere in ksm code.
--
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/