Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3382803pxk; Mon, 28 Sep 2020 16:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMNaPhE8rcYXy7zUGtaoPT5n+tM6CDbhh3N/+E8fLc8AohqmTFD/SQkZmpnUkpekKtLBhn X-Received: by 2002:a17:906:9443:: with SMTP id z3mr1182969ejx.156.1601335853999; Mon, 28 Sep 2020 16:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601335853; cv=none; d=google.com; s=arc-20160816; b=YCTk+5jRH1/5j3E0Brp2HdhyPuMX17Z5GtGXK7v3Qy+wlbxD6gFpORKocuHzFjiXl2 2+14ucS1+S3i6YsxyuHVV4xwcaWmEo5PSMqS/VxR7IyjNGIa99gprwH5SitMPQqqk55E Msc1alXu51Y/+RsrOzcOuMmqO8JyNYbdCjsLIuWqCczbpP1BMMiKEy6jSLHfEWnfrnfC iiv4dmEf90wVD8w6K4omBefvXhbTIGZb64wrvfSA0pp5QWOBcPmBlam4DmihzRRdMlcy Jhezp8KgxePCgM+8muJtmsN84hMYsHlsvxkw7lL5JLg7LP82A2f0R6YvvD0TAqtcOFlK 87KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zk6QeUcgtam/NrYdrxcTVrrfoEM22yAdB2MDn+QseZc=; b=m9TK3yNhtT29EpCkKqqCRTRb7Ygz8P/4rv/XJM+y0Gcyk+OjrxaYNbrwMjthJp4ZyX FUupJ7jbpZjCCKFHi2grfwlwJM7fI62VcxMNz7qcitfJ9oMZT1Sjsvjzck5LKzu+NlXh Ncj5USJ8UdxSX7AIkoxsxUDNKNvL3BPH/m014HWPt8g8M7ZvCzBuYsXtI4BxlgaCcRMe MJxqzdYe841KumZaaQowJNer78OYzRrL9ldGbD3031z4Ke0kFUAHsqyg6xnpvDWDJEHd 9cjWETkdJb4mUYffyal/PPrYtIUEDZPpq0WYRep9lvovILxavU4kkTdoY5IVxifDx43j kSpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=T1rlAS1y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si142383edv.526.2020.09.28.16.30.22; Mon, 28 Sep 2020 16:30:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=T1rlAS1y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbgI1X2p (ORCPT + 99 others); Mon, 28 Sep 2020 19:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726897AbgI1X2n (ORCPT ); Mon, 28 Sep 2020 19:28:43 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D910C0613BB for ; Mon, 28 Sep 2020 15:51:09 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id 16so2653878qkf.4 for ; Mon, 28 Sep 2020 15:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zk6QeUcgtam/NrYdrxcTVrrfoEM22yAdB2MDn+QseZc=; b=T1rlAS1y7bUNEdJ+nZMfUdxNk5/54+ZHcKNUbTcPpn2OhR4AIs+LInzPhVoZISJQ8P NeFKBpqS7p1LjpTgplZ85ly7sBcPoSJkoxkD/fKJgmFJbMld2HSBpsqjD1RzDw6MpuUc 6rKpqK8/JNLpCUctsqwoyA3impUNNQrceSBXdYVaAinFdfn4ziwFI7egHcxuX42Pu+XE AWSq+4d31HkJ64EkwLfrNZB0l2If1y9dyQqmwnVVQg2oPoe22Etx5aaI0JPckjnwu8fm bX3KpCsDrHtqelCtrZMXs+Xm0dy0dkxggkL+b5VJ2+GYXG6wUiMYwkA4PlSE3ihR6qn1 OUkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zk6QeUcgtam/NrYdrxcTVrrfoEM22yAdB2MDn+QseZc=; b=Ap2NAude9uvTLD8/8oeEz2OsahJXPqEEwdmn2Kuowy0t+yZuJKE8jxueBACAhLkWOk LqVJF7OX2DG3sIaqVvuQSRxXbHzBoJr2qlyioosL0SE5mUa23hE5gMG8Xm+3+2zigY80 Wclygbq0/QXy2ebEOAUZhvgcp9sATE+i0Ww4M7kKykxOgSxTIBcA+IwgoV/GaT8JFlha Ay5QwYST3Oa4SJGoQNGtyu7rnSn+7HhkGVWVo91XLWH4rX0XqZrO+C93mhWxUkdHISzf qPZxTMJGC3QhzxmmmflSsN7gxA865rsF3Q7fJ4Oz0FtSNtI+RBM/HXzPsq35Jhm3TdOM 2hrQ== X-Gm-Message-State: AOAM530rUsgpOAzSLdtIFnGqxHvNkrNgP/Su8DGBr4UxIo7lcKEjpVBe hT8DdmB3VIboPBB95sznCBrS4g== X-Received: by 2002:a37:9c86:: with SMTP id f128mr1796171qke.30.1601333468459; Mon, 28 Sep 2020 15:51:08 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id f24sm2404196qka.5.2020.09.28.15.51.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 15:51:07 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kN1z9-002aKX-1d; Mon, 28 Sep 2020 19:51:07 -0300 Date: Mon, 28 Sep 2020 19:51:07 -0300 From: Jason Gunthorpe To: Linus Torvalds Cc: Peter Xu , Leon Romanovsky , John Hubbard , Linux-MM , Linux Kernel Mailing List , Andrew Morton , Jan Kara , Michal Hocko , Kirill Tkhai , Kirill Shutemov , Hugh Dickins , Christoph Hellwig , Andrea Arcangeli , Oleg Nesterov , Jann Horn Subject: Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned Message-ID: <20200928225107.GT9916@ziepe.ca> References: <20200927062337.GE2280698@unreal> <20200928124937.GN9916@ziepe.ca> <20200928172256.GB59869@xz-x1> <20200928183928.GR9916@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 28, 2020 at 12:50:03PM -0700, Linus Torvalds wrote: > But the more I look at this code, the more I go "ok, I want somebody > to actually test this with the rdma case". I suspect it will be OK as our immediate test suite that touches this will be using malloc memory. It seems some mmap trick will be needed to get higher map counts? > So I'll attach my suggested patch, but I won't actually commit it. I'd > really like to have this tested, possibly _together_ with the sequence > count addition.. Ok, we will do this once the holidays are over. If Peter doesn't take it I can look at the seqcount too. Thanks, Jason