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

From: Dave Hansen
Date: Tue Jun 21 2011 - 10:44:44 EST


On Tue, 2011-06-21 at 16:10 +0800, Amerigo Wang wrote:
> Don't hard-code 512M as the threshold in kernel, make it configruable,
> and set 512M by default.
>
> And print info when THP is disabled automatically on small systems.
>
> V2: Add more description in help messages, correct some typos,
> print the mini threshold too.

This seems sane to me. The printk probably could probably stand by
itself, btw. But, this is a small enough patch that it's fine.

Signed-off-by: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>

--
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/