From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by kanga.kvack.org (Postfix) with ESMTP id 6762C6B00AB for ; Fri, 21 Feb 2014 15:57:10 -0500 (EST) Received: by mail-oa0-f44.google.com with SMTP id g12so5108913oah.17 for ; Fri, 21 Feb 2014 12:57:10 -0800 (PST) Received: from g5t1625.atlanta.hp.com (g5t1625.atlanta.hp.com. [15.192.137.8]) by mx.google.com with ESMTPS id tm2si7916637oeb.42.2014.02.21.12.57.08 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Feb 2014 12:57:09 -0800 (PST) Message-ID: <1393016226.3039.44.camel@buesod1.americas.hpqcorp.net> Subject: Re: [PATCH] mm: per-thread vma caching From: Davidlohr Bueso Date: Fri, 21 Feb 2014 12:57:06 -0800 In-Reply-To: References: <1392960523.3039.16.camel@buesod1.americas.hpqcorp.net> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Andrew Morton , Ingo Molnar , Peter Zijlstra , Michel Lespinasse , Mel Gorman , Rik van Riel , KOSAKI Motohiro , "Chandramouleeswaran, Aswin" , "Norton, Scott J" , linux-mm , Linux Kernel Mailing List On Fri, 2014-02-21 at 10:13 -0800, Linus Torvalds wrote: > On Thu, Feb 20, 2014 at 9:28 PM, Davidlohr Bueso wrote: > > From: Davidlohr Bueso > > > > This patch is a continuation of efforts trying to optimize find_vma(), > > avoiding potentially expensive rbtree walks to locate a vma upon faults. > > Ok, so I like this one much better than the previous version. Btw, one concern I had is regarding seqnum overflows... if such scenarios should happen we'd end up potentially returning bogus vmas and getting bus errors and other sorts of issues. So we'd have to flush the caches, but, do we care? I guess on 32bit systems it could be a bit more possible to trigger given enough forking. Thanks, Davidlohr -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org