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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1936DC433F5 for ; Tue, 23 Nov 2021 13:39:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236592AbhKWNme (ORCPT ); Tue, 23 Nov 2021 08:42:34 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:44852 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236552AbhKWNmc (ORCPT ); Tue, 23 Nov 2021 08:42:32 -0500 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-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-100-6ZjOhzTrORGDmM5gMbQfwg-1; Tue, 23 Nov 2021 08:39:22 -0500 X-MC-Unique: 6ZjOhzTrORGDmM5gMbQfwg-1 Received: by mail-wm1-f69.google.com with SMTP id a64-20020a1c7f43000000b003335e5dc26bso2891823wmd.8 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=D34eF9B19cMbyan077mOyXuRCoPmYcWyQQT4tvLF+mlwiOGdrLlpscV/ENjfxrLX2z amFwzOY+J0M87gCz5ZrJ5/qatS+4SpinfZorgn4MoHBS+3ezGB7HNfhvuOPvPwMGEc4k WlGSIwUS2zS5zas68NGowzz3mm5ne0YJxDAzIQWzqviC7ZClPKEdRX1e7lLMkVLfSvpz Pqh+IYhe2RisLL/KR1dPkLWd3Z0P/4KFmKw+e/n+grJz9MbVKtz9uDTdccwaiE5p+Pkp E/1FBPqWqNKf1HVEWM0wu22oTkP62ld3B4nKDrnAfQBzmMfSU+d2oTcj1uMwo9rnTRlr oolg== X-Gm-Message-State: AOAM533+6tgEWSVFh75DX/euA8HOUyxI3nI7F8uRo3QeJ0McCOWYa2Ax b+ih8ytguU2LJ7JlXXr0fuBExhJXHTEIIHWF9ve45Ix6zQ8kT1nmbOtlJOhjrKSUEahsLcjqxel FN6ooDrH7SeK7K/HbSt0= X-Received: by 2002:adf:f5ce:: with SMTP id k14mr7219871wrp.100.1637674761160; 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 Content-Language: en-US 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> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org > >> 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