[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E015DCA.8040204@redhat.com>
Date: Wed, 22 Jun 2011 11:13:14 +0800
From: Cong Wang <amwang@...hat.com>
To: Andrea Arcangeli <aarcange@...hat.com>
CC: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>, Mel Gorman <mel@....ul.ie>,
linux-mm@...ck.org
Subject: Re: [PATCH 4/4] mm: introduce no_ksm to disable totally KSM
于 2011年06月21日 21:32, Andrea Arcangeli 写道:
> On Tue, Jun 21, 2011 at 04:10:45PM +0800, Amerigo Wang wrote:
>> Introduce a new kernel parameter "no_ksm" to totally disable KSM.
>
> Here as well this is the wrong approach. If you want to save memory,
> you should make ksmd quit when run=0 and start only when setting
> ksm/run=1. And move the daemon hashes and slabs initializations to the
> ksmd daemon start. Not registering in sysfs and crippling down the
> feature despite you loaded the proper .text into memory isn't good.
1. Not only about saving memory, as I explained in other thread.
2. Recompiling kernel is not always acceptable, as I replied in other thread.
--
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