Hi Bob, On Mon, Oct 10, 2011 at 09:58:06PM +0800, Bob Liu wrote: > Currently THP do swap by default, user has no control of it. > But some applications are swap sensitive, this patch add a boot param > and sys file to make it configurable. Why don't you use mlock or swapoff -a? I doubt we want to handle THP pages differently from regular pages with regard to swap or anything else, the value is to behave as close as possible to regular pages. What you want you can already achieve by other means I think. -- 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>