Re: [PATCH v2 2/4] mm: make the threshold of enabling THP configurable

From: Cong Wang
Date: Wed Jun 22 2011 - 01:41:37 EST


ä 2011å06æ22æ 11:29, David Rientjes åé:

Either way, this patch isn't needed since it has no benefit over doing it
through an init script.

If you were right, CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not needed,
you can do it through an init script.

If you were right, the 512M limit is not needed neither, you have
transparent_hugepage=never boot parameter and do the check of
512M later in an init script. (Actually, moving the 512M check to
user-space is really more sane to me.)

I am quite sure you have lots of other things which both have a Kconfig
and a boot parameter, why do we have it?
--
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/