On Tue, 2011-03-15 at 14:38 +0100, Thomas Gleixner wrote: > > +{ > > + if (!vma->vm_file) > > + return 0; > > + > > + if ((vma->vm_flags & (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)) == > > + (VM_READ|VM_EXEC)) > > Looks more correct than the code it replaces :) > > > + return 1; > > + > > + return 0; > > +} > > + > Yeah, we had this discussion already ;) -- Steve -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx 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>