On Wed 18-05-16 09:20:05, Peter Zijlstra wrote: > On Wed, May 18, 2016 at 08:35:49AM +1000, Dave Chinner wrote: > > On Tue, May 17, 2016 at 04:49:12PM +0200, Peter Zijlstra wrote: [...] > > > In any case; would something like this work for you? Its entirely > > > untested, but the idea is to mark an entire class to skip reclaim > > > validation, instead of marking individual sites. > > > > Probably would, but it seems like swatting a fly with runaway > > train. I'd much prefer a per-site annotation (e.g. as a GFP_ flag) > > so that we don't turn off something that will tell us we've made a > > mistake while developing new code... > > Fair enough; if the mm folks don't object to 'wasting' a GFP flag on > this the below ought to do I think. GFP flag space is quite scarse. Especially when it would be used only for lockdep configurations which are mostly disabled. Why cannot we go with an explicit disable/enable API I have proposed? It would be lockdep contained and quite easy to grep for and git blame would tell us (hopefuly) why the lockdep had to be put out of the way for the particular path. -- Michal Hocko 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/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>