[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0905061754250.7350@blonde.anvils>
Date: Wed, 6 May 2009 17:57:14 +0100 (BST)
From: Hugh Dickins <hugh@...itas.com>
To: Chris Wright <chrisw@...hat.com>
cc: Izik Eidus <ieidus@...hat.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Rik van Riel <riel@...hat.com>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, alan@...rguk.ukuu.org.uk,
device@...ana.org, linux-mm@...ck.org, nickpiggin@...oo.com.au
Subject: Re: [PATCH 3/6] ksm: change the KSM_REMOVE_MEMORY_REGION ioctl.
On Wed, 6 May 2009, Chris Wright wrote:
>
> I like merge. For madvise() approach I had used:
>
> +#define MADV_SHAREABLE 12 /* can share identical pages */
> +#define MADV_UNSHAREABLE 13 /* can not share identical pages */
>
> But those are maybe better put as MADV_(UN)MERGEABLE
> (gets a bit confusing when you talk of merging vmas ;-)
That's true, I hadn't remembered that. Not _very_ confusing,
but the last thing I'd want is to bully everyone into changing
their familiar name for something, and the result just as poor.
No need to decide today anyway: let's see how others feel.
Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists