Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3411960pxk; Mon, 28 Sep 2020 17:32:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDW/8aJLxF6MFbcKG9knw2uR/ZOJ9YJlS9kVnbnplnEfN9S5HiFcBlRF4ghTs5yPFdLm+/ X-Received: by 2002:aa7:d750:: with SMTP id a16mr600174eds.362.1601339567412; Mon, 28 Sep 2020 17:32:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601339567; cv=none; d=google.com; s=arc-20160816; b=YryTEXC1LKWP7CxDy5YLL4t0w2OyUkrSarmwCVeKYVWxUP19XDruThzx8BbpJnVgiI LExx5xlkWHWRSuV7ERvaS5py/AWEwRkx/jWDtoyqLUF9gWrbyAKz+uoAbVYw8GrkWPH0 3iWj63MsXDZbxUjPnD01qIT2GSlCA9SX1GmQFiUFN4HeW6UTPj4hm3nZCSjzqTEe32kC Qhcjc93NPjmvvq6MeJL1DYwbTUYJucHrItI3yeErC3rfPArPW9qF30omZd8rLcLWPB9h MrFVJpys00fslp8+QcvbHSIR8/Hrpgtpv+0Dwpdb+Jsix2dugiWuvylHH9CGfDgCU9At M8NQ== 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=KvjrWxE7p1uKtiSqam0MWPYzBBvAKlG+w6tiS6hXtPk=; b=N1RKjmtfopqMUqfwXmlBdIxi90sn9NAiaPRQeK/I8guLebakdnRt6EjHqE2p7Kq00S auW0pl3d+J4JrRHSgJWVM5+W6mx6MS789hrkaY3TJ1EBye2goaHRDDZyPnsqJeRS/EMB kIQXW8CPjVG3GWGUJXg0mv7vOz1CR6S3ZkydgdagOTxaf/FMS/oMp6MJtRct6P3fYCin onswfeyB9MP4neTmwSOZT5gd5H6p7y4IZXsnHlEhvEB9sK86qXt5crTgPOcvo8Jbcdkx o7T7LELLJogEFLTnWAWvJLfemHMS5ZHztCJsphLH+KwzkK2P2iGfMSLitDUT65qUG5U5 jDiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dSAdYZc8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt6si1629609ejb.290.2020.09.28.17.32.17; Mon, 28 Sep 2020 17:32:47 -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=@redhat.com header.s=mimecast20190719 header.b=dSAdYZc8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbgI2AbB (ORCPT + 99 others); Mon, 28 Sep 2020 20:31:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:43551 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbgI2AbB (ORCPT ); Mon, 28 Sep 2020 20:31:01 -0400 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601339459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KvjrWxE7p1uKtiSqam0MWPYzBBvAKlG+w6tiS6hXtPk=; b=dSAdYZc8jkHGWuw6QAh4OlD68YmFQkijAlE/ZUGasCnsZ3GhaqxLAOXmBgVK7tErkY87AI A14vQE7Gfku/E8Et3Rs6Q0H5k0IcCcqHiF6pnaDMZkvntWXCZCTqCp18FmOdkIJQOCXxp6 8bbB6yaC1ur3lj5vywZ7MMhvjCwsmv4= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-155-jh_4Ny3aOcWnb99bnyVOpA-1; Mon, 28 Sep 2020 20:30:57 -0400 X-MC-Unique: jh_4Ny3aOcWnb99bnyVOpA-1 Received: by mail-qv1-f69.google.com with SMTP id t4so1607807qvr.21 for ; Mon, 28 Sep 2020 17:30:57 -0700 (PDT) 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=KvjrWxE7p1uKtiSqam0MWPYzBBvAKlG+w6tiS6hXtPk=; b=tIFprM0tAD0Ah7kMPFQqtykA/oYTbUSTrv30/bxX+r5WWTm1omH2aLkzGQbxFsCLED HJ5pOChngG6YeEdFWK982qDzpCmwkwNYRzCphfN88N9SuuYs6cElNK/lET+bU+G+Shcz no6JAz9Ywk+i9kETRmzNgAWlvTxLnrzPlTu2z8i9cwRh/sZGCJ++ljTyuE0y9D50qU6K GKZRetc8PPGHqTWCY63PEpHLHb82BlOnwXkr/7Fno4Xm+F533pfyB3C0+sTuu38/Re9Y z7WgDij2a/i697bUDx3bJ+dTtF58YuAoiHXVj+NlJrq1Sup4h43D2viPXii+dl4MUeBz 44dQ== X-Gm-Message-State: AOAM530JNBNBcxjYtn5jrcszdpByGa8Pkejv0QacBbkfxfiE2b1lvbcC M/M6XavZnHKjQ4zV4rFNW3L6MGhf1pwLluIZAcLr1wGvZnLAFEr7t41lqLLoyv+PMbEV0VcJByH Ap9MgM6Yk261cwtvk/7WtYO7e X-Received: by 2002:a05:620a:90c:: with SMTP id v12mr1991746qkv.16.1601339457230; Mon, 28 Sep 2020 17:30:57 -0700 (PDT) X-Received: by 2002:a05:620a:90c:: with SMTP id v12mr1991683qkv.16.1601339456339; Mon, 28 Sep 2020 17:30:56 -0700 (PDT) Received: from xz-x1 (bras-vprn-toroon474qw-lp130-11-70-53-122-15.dsl.bell.ca. [70.53.122.15]) by smtp.gmail.com with ESMTPSA id m18sm2804062qkg.77.2020.09.28.17.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 17:30:55 -0700 (PDT) Date: Mon, 28 Sep 2020 20:30:54 -0400 From: Peter Xu To: Jason Gunthorpe Cc: Linus Torvalds , 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: <20200929003054.GF59869@xz-x1> References: <20200928124937.GN9916@ziepe.ca> <20200928172256.GB59869@xz-x1> <20200928183928.GR9916@ziepe.ca> <20200928225107.GT9916@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200928225107.GT9916@ziepe.ca> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 28, 2020 at 07:51:07PM -0300, Jason Gunthorpe wrote: > > 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. Please feel free to. I can definitely test against the vfio test I used to run, but assuming the rdma test would be more ideal. Just let me know if there's anything else I can help. Thanks, -- Peter Xu