On Thu, Oct 17, 2013 at 05:50:36PM -0700, Davidlohr Bueso wrote: > Both do_brk and do_mmap_pgoff verify that we actually > capable of locking future pages if the corresponding > VM_LOCKED flags are used. Encapsulate this logic into > a single mlock_future_check() helper function. > > Signed-off-by: Davidlohr Bueso <[email protected]> > Cc: Rik van Riel <[email protected]> > Cc: Michel Lespinasse <[email protected]>
Reviewed-by: Michel Lespinasse <[email protected]> -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

