From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4A35C2D0A8 for ; Mon, 28 Sep 2020 22:51:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0AF0523A54 for ; Mon, 28 Sep 2020 22:51:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="T1rlAS1y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AF0523A54 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3D3F96B005C; Mon, 28 Sep 2020 18:51:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 35E5C8E0003; Mon, 28 Sep 2020 18:51:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 225368E0001; Mon, 28 Sep 2020 18:51:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0187.hostedemail.com [216.40.44.187]) by kanga.kvack.org (Postfix) with ESMTP id 030BE6B005C for ; Mon, 28 Sep 2020 18:51:09 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B8AE1181AE861 for ; Mon, 28 Sep 2020 22:51:09 +0000 (UTC) X-FDA: 77313967458.25.ghost81_050a20e27185 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id 8DB8B1804EE3A for ; Mon, 28 Sep 2020 22:51:09 +0000 (UTC) X-HE-Tag: ghost81_050a20e27185 X-Filterd-Recvd-Size: 4725 Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by imf09.hostedemail.com (Postfix) with ESMTP for ; Mon, 28 Sep 2020 22:51:09 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id x201so2261626qkb.11 for ; Mon, 28 Sep 2020 15:51:08 -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=s8Iyqcl0XTPQEmw/RaPdBITmefjkBnC3ROU1eNyqXnxZ4Spa3VXn9FrbpEc9CtuAQm aon55VY8OHvU9FZowcSW26gYuaU0S9pXhGZ6atG9WcZGMQmev881Q12X0RlgT0TIBrSY DbVua+03m2WmZloMTy42hHeZKWXYdoWPPMbwG0h/kMlJa3bCBpPlxu6+MjaH3JUhveB6 tM4Bqekjb7Zjzpz/Xe0EnxT93Wwd5Edg9dKDk247Bus8tfAOBCNwMl/l619qeQOZ/dkj 6GqlqNwU4L4R+/9vtVInMxrN6RB6enMVIBM2Kd+6xjo/t+ZHax/J5spmeLRlbnPG6sxg O54Q== X-Gm-Message-State: AOAM5320cBv/0CLGIg0VMktAeaOM2lk8hq6/gbR0LJnIqtm2rJxqa237 reNdZtsdVCWNuIIHmZjqJo0I5w== X-Google-Smtp-Source: ABdhPJya02yfbEyO9CXfLe2ET4P9ghh8QUvYaMGrtYJ7Boaulx3pzHUbx+YRCR8CBn3K01acS/8+7g== 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: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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