Re: [PATCH 0/4] ksm - dynamic page sharing driver for linux v3

Andrew Morton
2009-04-14T22:15:27Z

On Thu, 9 Apr 2009 06:58:37 +0300
Izik Eidus <ieidus@redhat.com> wrote:

> KSM is a linux driver that allows dynamicly sharing identical memory
> pages between one or more processes.

Generally looks OK to me. But that doesn't mean much. We should rub
bottles with words like "hugh" and "nick" on them to be sure.

>
> ...
>
> include/linux/ksm.h | 48 ++
> include/linux/miscdevice.h | 1 +
> include/linux/mm.h | 5 +
> include/linux/mmu_notifier.h | 34 +
> include/linux/rmap.h | 11 +
> mm/Kconfig | 6 +
> mm/Makefile | 1 +
> mm/ksm.c | 1674 ++++++++++++++++++++++++++++++++++++++++++
> mm/memory.c | 90 +++-
> mm/mmu_notifier.c | 20 +
> mm/rmap.c | 139 ++++

And it's pretty unobtrusive for what it is. I expect we can get this
into 2.6.31 unless there are some pratfalls which I missed.