On Sat, May 12, 2012 at 01:23:41AM +0300, Sami Liedes wrote: > On Fri, May 11, 2012 at 01:32:34PM -0700, Andrew Morton wrote: > > Sure, thanks, that might turn something up. > > Documentation/SubmitChecklist recommends > > > > : 12: Has been tested with CONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT, > > : CONFIG_DEBUG_SLAB, CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES, > > : CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_ATOMIC_SLEEP, CONFIG_PROVE_RCU > > : and CONFIG_DEBUG_OBJECTS_RCU_HEAD all simultaneously enabled. > > > > although that list might be a bit out of date; it certainly should > > include CONFIG_DEBUG_VM! > > I wonder if there's somewhere a recommended list of generally most > useful debug options that only have a moderate performance impact? I'd > be happy to use a set of useful debug flags that generally impacts > performance by, say, <10%, on the computers I use for my everyday work > to help catch bugs. But it's sometimes quite hard to assess the impact > of different Kernel hacking options from just the description... One problem here is that acceptable performance is entirely subjective, based on your individual workload. For example, I nearly always run the fedora 'debug' builds, which enable near every debug option, and don't find it particularly painful. Other people find those same builds completely intolerable. Especially for example users of shiny new desktops that rely heavily on the drm. Seems that code is particularly miserable to use when spinlock debugging/lockdep are enabled. A few releases back, something changed which made debug builds even more 'heavyweight' for some users. Still haven't figured out what that might be. Dave -- 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>