On Tue, Feb 21, 2017 at 04:25:45PM +0300, Kirill A. Shutemov wrote: > I think more strict vma_is_anonymous() is a good thing. > > But I don't see a point introducing one more helper. Let's just make the > existing helper work better. That would be simpler agreed. The point of having an "unsafe" faster version was only for code running in page fault context where the additional check is unnecessary. -- 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>