On Fri, Dec 16, 2011 at 02:56:00PM -0800, Andrew Morton wrote: > On Wed, 14 Dec 2011 15:41:22 +0000 > Mel Gorman <mgorman@xxxxxxx> wrote: > > > Short summary: There are severe stalls when a USB stick using VFAT > > is used with THP enabled that are reduced by this series. If you are > > experiencing this problem, please test and report back and considering > > I have seen complaints from openSUSE and Fedora users on this as well > > as a few private mails, I'm guessing it's a widespread issue. This > > is a new type of USB-related stall because it is due to synchronous > > compaction writing where as in the past the big problem was dirty > > pages reaching the end of the LRU and being written by reclaim. > > > > Am cc'ing Andrew this time and this series would replace > > mm-do-not-stall-in-synchronous-compaction-for-thp-allocations.patch. > > I'm also cc'ing Dave Jones as he might have merged that patch to Fedora > > for wider testing and ideally it would be reverted and replaced by > > this series. > > So it appears that the problem is painful for distros and users and > that we won't have this fixed until 3.2 at best, and that fix will be a > difficult backport for distributors of earlier kernels. > It is only difficult because the series "Do not call ->writepage[s] from direct reclaim and use a_ops->writepages() where possible" is also required. If both are put into -stable, then the backport is straight forward but I was skeptical that -stable will take two series that are this far reaching for a performance problem. > To serve those people better, I'm wondering if we should merge > mm-do-not-stall-in-synchronous-compaction-for-thp-allocations now, make > it available for -stable backport and then revert it as part of this > series? ie: give people a stopgap while we fix it properly? If -stable cannot take both series then this is probably the only realistic option. I'd be ok with this but it will hurt THP allocation success rates on those kernels so that will hurt other people like Andrea and David Rientjes. It's between a rock and a hard place. Another realistic option might be for distros to disable THP by default on 3.0 and 3.1. -- Mel Gorman SUSE Labs -- 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>