Re: man-pages text for MAV_MERGEABLE and MADV_UNMERGEABLE

From: Hugh Dickins
Date: Mon Jun 21 2010 - 12:11:46 EST


On Sat, Jun 19, 2010 at 10:36 PM, Michael Kerrisk
<mtk.manpages@xxxxxxxxx> wrote:
> On Sun, Jun 20, 2010 at 2:02 AM, Hugh Dickins <hughd@xxxxxxxxxx> wrote:
>> On Sat, 19 Jun 2010, Michael Kerrisk wrote:
>>> +The KSM daemon
>>> +.RI ( ksmd )
>>> +periodically scans those areas of user memory that have
>>> +been marked as mergeable,
>>> +looking for pages with identical content.
>>
>> I was rather puzzled by Andi calling that an internal implementation
>> detail. ÂOkay, I suppose the "KSM daemon periodically scans" is an
>> internal implementation detail, though I think it helps to warn the
>> programmer of the overhead of MADV_MERGEABLE; but without "pages
>> with identical content", aren't we left mystified as to just what
>> this "merging" is all about?
>
> I agree. All I had changed was to remove mention of the KSM daemon --
> I just say "the kernel".

Great, that's just right: thanks.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/