Re: [PATCH 4/4] add ksm kernel shared memory driver.

Izik Eidus
2009-04-01T17:34:19Z

KAMEZAWA Hiroyuki wrote:
> On Tue, 31 Mar 2009 15:21:53 +0300
> Izik Eidus <ieidus@redhat.com> wrote:
>
>>>
>>>
>> kpage is actually what going to be KsmPage -> the shared page...
>>
>> Right now this pages are not swappable..., after ksm will be merged we
>> will make this pages swappable as well...
>>
>>
> sure.
>
>
>>> If so, please
>>> - show the amount of kpage
>>>
>>> - allow users to set limit for usage of kpages. or preserve kpages at boot or
>>> by user's command.
>>>
>>>
>> kpage actually save memory..., and limiting the number of them, would
>> make you limit the number of shared pages...
>>
>>
>
> Ah, I'm working for memory control cgroup. And *KSM* will be out of control.
> It's ok to make the default limit value as INFINITY. but please add knobs.
>
Sure, when i will post V2 i will take care for this issue (i will do it
after i get little bit more review for ksm.c.... :-))