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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 873EAC433F5 for ; Tue, 23 Nov 2021 13:39:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ED98C6B0071; Tue, 23 Nov 2021 08:39:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E88F46B0072; Tue, 23 Nov 2021 08:39:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D50E46B0073; Tue, 23 Nov 2021 08:39:34 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0094.hostedemail.com [216.40.44.94]) by kanga.kvack.org (Postfix) with ESMTP id C2B9A6B0071 for ; Tue, 23 Nov 2021 08:39:34 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 7D60A8632F for ; Tue, 23 Nov 2021 13:39:24 +0000 (UTC) X-FDA: 78840301848.06.40F0142 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf04.hostedemail.com (Postfix) with ESMTP id F1E0A5000317 for ; Tue, 23 Nov 2021 13:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637674763; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+jh8FTAWWG20K+UA82402ba7LKfonIbuvjtOQUuW19c=; b=GYWWa0+JpIjt8sbExUi+TfLb8lTNgAQQufEpM4pemEgYNiNUSKWMogo1C9K2v5lSpVeu9A buAuiHSD4Rjtg/k39vcuCdvQ9CRRgKq0mM6dhwRuIxl8r8VrMCSNnjs00W90vHZqalMEW3 Z+2SdJ2JzniGIrrvW6Jvr3h/hWPYXQ0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-100-cAe13ui_M3q21tV4SsDyVQ-1; Tue, 23 Nov 2021 08:39:22 -0500 X-MC-Unique: cAe13ui_M3q21tV4SsDyVQ-1 Received: by mail-wm1-f71.google.com with SMTP id g11-20020a1c200b000000b003320d092d08so8463415wmg.9 for ; Tue, 23 Nov 2021 05:39:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=+jh8FTAWWG20K+UA82402ba7LKfonIbuvjtOQUuW19c=; b=6xAhCl78Qp6tD8fLPgjhiHB7BNA/vLhQwAo86GmZMqcyLtUvJOYsSJ+IE+driiuZIe FTFZUtyvhtJZe4BQtB9rYzdydePEEb5KL9XNOo01CxH3R/Eln0AM21iZUaP465opwu/R jlpG+kgJLdA1dRUt6MZjI2xo1UORPLX1CQ8MUvqdAH1XyVe46XEZXj+nT2lTfJn6IVb8 b1LgHgo1ySxlApgNR2N7NiM9aBpIGrEFvk753b/3Lqzdp+EF5qr5WxwS3Y4hjlZxKlf5 kniobj3WznRyd6CKtkCZOIBtqX28RCYd4164/UarLWBEkdBo/fM3ovL1dh4HLZTxsING Unkg== X-Gm-Message-State: AOAM530QzJyLc8oMeliT/FjBG8ISMBg6cRqLE9MyLya/QPDRaZiMDh4g JZUVDR5q8gbPrphbuOP8Oh5lblfb35GdK8aEWIabMy9nD2r/7Mm1FSQ59/jXBY9WHf1ESyiMAS7 2vD+hWukk8lc= X-Received: by 2002:adf:f5ce:: with SMTP id k14mr7219876wrp.100.1637674761162; Tue, 23 Nov 2021 05:39:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzD7sb1IiFmX+xh4eNwq0pLdsNnZ6eK+UsBEy9hQfqP/PgF8XkS6qu6y8mJps6VYrFnZ4fKEQ== X-Received: by 2002:adf:f5ce:: with SMTP id k14mr7219846wrp.100.1637674760974; Tue, 23 Nov 2021 05:39:20 -0800 (PST) Received: from [192.168.3.132] (p5b0c6765.dip0.t-ipconnect.de. [91.12.103.101]) by smtp.gmail.com with ESMTPSA id d6sm1456582wrn.53.2021.11.23.05.39.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Nov 2021 05:39:20 -0800 (PST) Message-ID: <10ccf01b-f13a-d626-beba-cbee70770cf1@redhat.com> Date: Tue, 23 Nov 2021 14:39:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB To: Jason Gunthorpe Cc: Jens Axboe , Andrew Dona-Couch , Andrew Morton , Drew DeVault , Ammar Faizi , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, io_uring Mailing List , Pavel Begunkov , linux-mm@kvack.org References: <20211115203530.62ff33fdae14927b48ef6e5f@linux-foundation.org> <20211116114727.601021d0763be1f1efe2a6f9@linux-foundation.org> <20211116133750.0f625f73a1e4843daf13b8f7@linux-foundation.org> <8f219a64-a39f-45f0-a7ad-708a33888a3b@www.fastmail.com> <333cb52b-5b02-648e-af7a-090e23261801@redhat.com> <5f998bb7-7b5d-9253-2337-b1d9ea59c796@redhat.com> <20211123132523.GA5112@ziepe.ca> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20211123132523.GA5112@ziepe.ca> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: F1E0A5000317 X-Stat-Signature: nd6ki3tq7rcu85jai17k9agn6fa9tqyc Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=GYWWa0+J; spf=none (imf04.hostedemail.com: domain of david@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1637674760-467257 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: > >> 2) Could be provide a mmu variant to ordinary users that's just good >> enough but maybe not as fast as what we have today? And limit >> FOLL_LONGTERM to special, privileged users? > > rdma has never been privileged Feel free to correct me if I'm wrong: it requires special networking hardware and the admin/kernel has to prepare the system in a way such that it can be used. -- Thanks, David / dhildenb