于 2011年06月21日 00:59, Mel Gorman 写道:
On Tue, Jun 21, 2011 at 12:34:29AM +0800, Amerigo Wang wrote:
Don't hard-code 512M as the threshold in kernel, make it configruable,
and set 512M by default.
I'm not seeing the gain here either. This is something that is going to
be set by distributions and probably never by users. If the default of
512 is incorrect, what should it be? Also, the Kconfig help message has
spelling errors.
Sorry for spelling errors, I am not an English speaker.
Hard-coding is almost never a good thing in kernel, enforcing 512
is not good either. Since the default is still 512, I don't think this
will affect much users.
I do agree to improve the help message, like Dave mentioned in his reply,
but I don't like enforcing a hard-coded number in kernel.
BTW, why do you think 512 is suitable for *all* users?
Thanks.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>