Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762552AbdDSMbD (ORCPT ); Wed, 19 Apr 2017 08:31:03 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:50462 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762056AbdDSMbB (ORCPT ); Wed, 19 Apr 2017 08:31:01 -0400 Date: Wed, 19 Apr 2017 14:30:51 +0200 From: Peter Zijlstra To: Laurent Dufour Cc: linux-mm@kvack.org, Davidlohr Bueso , akpm@linux-foundation.org, Jan Kara , "Kirill A . Shutemov" , Michal Hocko , Mel Gorman , haren@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com, Paul.McKenney@us.ibm.com, linux-kernel@vger.kernel.org Subject: Re: [RFC 2/4] Deactivate mmap_sem assert Message-ID: <20170419123051.GA5730@worktop> References: <582009a3f9459de3d8def1e76db46e815ea6153c.1492595897.git.ldufour@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <582009a3f9459de3d8def1e76db46e815ea6153c.1492595897.git.ldufour@linux.vnet.ibm.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 238 Lines: 6 On Wed, Apr 19, 2017 at 02:18:25PM +0200, Laurent Dufour wrote: > When mmap_sem will be moved to a range lock, some assertion done in > the code are no more valid, like the one ensuring mmap_sem is held. > Why are they no longer valid?