[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1106211814250.5205@chino.kir.corp.google.com>
Date: Tue, 21 Jun 2011 18:16:35 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Amerigo Wang <amwang@...hat.com>
cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Randy Dunlap <rdunlap@...otime.net>,
Andrea Arcangeli <aarcange@...hat.com>,
Rik van Riel <riel@...hat.com>,
Johannes Weiner <jweiner@...hat.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
linux-doc@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v2 1/4] mm: completely disable THP by
transparent_hugepage=0
On Tue, 21 Jun 2011, Amerigo Wang wrote:
> Introduce "transparent_hugepage=0" to totally disable THP.
> "transparent_hugepage=never" means setting THP to be partially
> disabled, we need a new way to totally disable it.
>
Why can't you just compile it off so you never even compile
mm/huge_memory.c in the first place and save the space in the kernel image
as well? Having the interface available to enable the feature at runtime
is worth the savings this patch provides, in my opinion.
--
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