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

2009-04-02 Thread Bert Wesarg
On Thu, Apr 2, 2009 at 07:59, Chris Wright chr...@redhat.com wrote:
 * Bert Wesarg (bert.wes...@googlemail.com) wrote:
  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!

 It's not there ;-)

Thanks ;-)
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2009-04-01 Thread Bert Wesarg
On Thu, Apr 2, 2009 at 07:48, Chris Wright chr...@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
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html