Received: by 10.192.165.148 with SMTP id m20csp1148201imm; Sat, 21 Apr 2018 02:10:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ZM+CYT0U+usSWqNGYepvbl9zCEO7r2L7UGnJbBbJtxwUkxFt7UWT/t3JPnbZYxaOZmXEw X-Received: by 10.99.124.1 with SMTP id x1mr10268430pgc.286.1524301851620; Sat, 21 Apr 2018 02:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524301851; cv=none; d=google.com; s=arc-20160816; b=tYJnr3p1kYcEwTefWN13l+N+ISLJh/QfBi53YIKIai+oFZ3USdCcI3o1NUSaarWSBL AvGLXutAqlF2IaC9i8W9sfxKoihvsR2G3ARLFPY4OXon+ZcAlHrkeutfm87h1aBXASrp 1y/UL8hsVc1NWqExGjV03zOj9K4V+DbtGk//8xIcWz2dnEoM2LfnIGnsnWJFzbYxbXeQ N5htpDKKDQ1bl/lsuX0a64jfsBcxgcszLF/yutlkeYT/Exp9hRHtdqYe/Zv2hDWUTGsa 8LONiiQBUf0q1VG+oE8OgIKpOFA5pYbUkuIwuTF+Mdl9QtnvOB71hz9MSj2e9wh3/W1k tQ8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=uuKLOYMf5lUwCRBAClmwt7vS0yWLApnf4En9YpAyQ8E=; b=yU1xyAhaJ1r5ZUN1x/AR90+AyYhbGIFrpG1mZHn/qZ8GPNp3NL1Tr7fXEvaUAEljvm fKEAfMEVjC57zAOWvSkqhFVybdiBOXgg4wl4Y26Nyu8/t6d88QN89m8A3aO6vQd1AvTb gQMRwpu16V+eiBjCsKshgSt3XiayBD3NcyQcRiDKooadh5PmMUT/HgPu5Soo7Zq4aOaT u8apfmPt6ZZFRniAH8Ln+GHPGo41tMNVXRWDxGV2ldxMPeGrY84dV8MUu3Z3i5xHU+1F NZNGn60SRyVctLjf16OvN/gQ540RmuvsXhBlt3Vj7rlbeqEUqIG1tRIqxaRoQa8QSP6U mI4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cf0XPFuT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12si6023427pgs.22.2018.04.21.02.10.13; Sat, 21 Apr 2018 02:10:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cf0XPFuT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752804AbeDUJH2 (ORCPT + 99 others); Sat, 21 Apr 2018 05:07:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52980 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751816AbeDUJH0 (ORCPT ); Sat, 21 Apr 2018 05:07:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uuKLOYMf5lUwCRBAClmwt7vS0yWLApnf4En9YpAyQ8E=; b=cf0XPFuTqV1pbWYMevvHLOE6b qChgQQ1zEgj6hiWZCaO4sKA5+oxQM+mefj/MVdu2kK4Nf/au5mgJDE48FsZKGTEcKVWkrpSUPgQ+7 AYKUQx4s8X27CTb8pIg7s9qa3z4jBu42/4Y5a4nK+yOtW8CsNpZwv265i53U+zd79O7O743VMon8Q 3ty/YOPhEK1FWprHkfPBjZAUmrBOtrZvhs8I6Rl5Uyco+p6G/zKp2IPYgoaIOVfBD8GYQ2CxiZFRZ lJjWaosJnlMlaiopTiR2LzTIjdpgqTSpcs3gQOcIzDk+DStrsXTgXXn0bteeSCwDYj/fMq3DD9KQ9 AFcLcdqMg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9oUM-0005Ue-Mx; Sat, 21 Apr 2018 09:07:22 +0000 Date: Sat, 21 Apr 2018 02:07:22 -0700 From: Christoph Hellwig To: Eric Dumazet Cc: "David S . Miller" , netdev , linux-kernel , Soheil Hassas Yeganeh , Eric Dumazet , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH net-next 0/4] mm,tcp: provide mmap_hook to solve lockdep issue Message-ID: <20180421090722.GA11998@infradead.org> References: <20180420155542.122183-1-edumazet@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180420155542.122183-1-edumazet@google.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 08:55:38AM -0700, Eric Dumazet wrote: > This patch series provide a new mmap_hook to fs willing to grab > a mutex before mm->mmap_sem is taken, to ensure lockdep sanity. > > This hook allows us to shorten tcp_mmap() execution time (while mmap_sem > is held), and improve multi-threading scalability. Missing CC to linu-fsdevel and linux-mm that will have to decide. We've rejected this approach multiple times before, so you better make a really good argument for it. introducing a multiplexer that overloads a single method certainly doesn't help making that case.