From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f41.google.com (mail-yh0-f41.google.com [209.85.213.41]) by kanga.kvack.org (Postfix) with ESMTP id D6ED96B0069 for ; Mon, 20 Oct 2014 19:41:45 -0400 (EDT) Received: by mail-yh0-f41.google.com with SMTP id i57so163452yha.0 for ; Mon, 20 Oct 2014 16:41:45 -0700 (PDT) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com. [2607:f8b0:4002:c01::22f]) by mx.google.com with ESMTPS id 23si20398955yhg.118.2014.10.20.16.41.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 16:41:45 -0700 (PDT) Received: by mail-yh0-f47.google.com with SMTP id c41so140584yho.20 for ; Mon, 20 Oct 2014 16:41:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20141020222841.419869904@infradead.org> References: <20141020215633.717315139@infradead.org> <20141020222841.419869904@infradead.org> Date: Mon, 20 Oct 2014 16:41:45 -0700 Message-ID: Subject: Re: [RFC][PATCH 4/6] SRCU free VMAs From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Paul McKenney , Thomas Gleixner , Andrew Morton , Rik van Riel , Mel Gorman , Oleg Nesterov , Ingo Molnar , Minchan Kim , KAMEZAWA Hiroyuki , Al Viro , Lai Jiangshan , Davidlohr Bueso , Linux Kernel Mailing List , linux-mm On Mon, Oct 20, 2014 at 2:56 PM, Peter Zijlstra wrote: > Manage the VMAs with SRCU such that we can do a lockless VMA lookup. Can you explain why srcu, and not plain regular rcu? Especially as you then *note* some of the problems srcu can have. Making it regular rcu would also seem to make it possible to make the seqlock be just a seqcount, no? Linus -- 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