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

Bert Wesarg
2009-04-02T05:57:57Z

On Thu, Apr 2, 2009 at 07:48, Chris Wright <chrisw@redhat.com> wrote:
> Ksm api (for users to register region):
>
> Register a memory region as shareable:
>
> madvise(void *addr, size_t len, MADV_SHAREABLE)
>
> Unregister a shareable memory region (not currently implemented):
>
> madvise(void *addr, size_t len, MADV_UNSHAREABLE)
I can't find a definition for MADV_UNSHAREABLE!

Bert