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 E3632C433EF for ; Mon, 22 Nov 2021 20:04:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbhKVUHV (ORCPT ); Mon, 22 Nov 2021 15:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbhKVUHP (ORCPT ); Mon, 22 Nov 2021 15:07:15 -0500 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7CB3C061746 for ; Mon, 22 Nov 2021 12:04:08 -0800 (PST) Received: by mail-il1-x134.google.com with SMTP id s14so19344298ilv.10 for ; Mon, 22 Nov 2021 12:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WcnIZFGVTPnrcYytNY02ni75O1bSYxfUiY64xA9VdJw=; b=oZB5IQXQN9L8o8iGXNo3OyAra+BxdLQvxICWQywbHB2Q1I6+6Pp+Wz8/5g8ze3VGkR lqeS1aJSbN9ttOXV0YvvS15DwWBX5NO6t1Gr9VC7Z0mnX5NMNU1MGrF0CwL/56m2hH4h aQeX4BYQ7o1IOT/LkkbFYGxAMqlJT2jFXOKYTpEt75y7y6Am4P314kHwe1BJQkwa4Iwx 4fvjao9tsBMvGCYc5Cb+tgYyzn2Sx9mx+MjE0Z/qlPPyXcAD0GrYszUz2uBEMUK0Us4n Yrrv6KObfacGoSgBD0gmMyNaFh86lb0W0WrqebDFJKNCm4rj0vbuYefGds6NwQvn4mek l6NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WcnIZFGVTPnrcYytNY02ni75O1bSYxfUiY64xA9VdJw=; b=in5qb0/fWvASDyZeaqXqtdwPDnUxnMRqCETFI0fEhCNjRxH2J/RLZt84YknjFngFkR eqJZBmh82RvQhrfs0W6PxmsJiE5LHmwxIRs8uN/Kxh0tHTc8Q72OvOkMCvKgGLkGbHTm VgJzwsPbf6h4nvtgQtMcWIZ+KbbvZCft3HBrFUKUyVQLSLoTwiIPOosDE0XbeeoTzPOK UtxqGG5fto8n9xIloxcjZ6RmxpdstKPzl6qmZly8QTgugTRqYMjLQLyHWHSm7RpWu3SR bm4+Gn0sHGMy3w9ATCKz1LD6F2BnauVu3Sx2JmbcN03qQOoKShqAo9TcdSFM5Bp+4jbx MoVA== X-Gm-Message-State: AOAM531BeE3URRyhIMazMM/fLWMh0hC0gWdXGZan+EZwWy07U08lt2K/ yV0i0S8CrlmOInKbsYMvl0tLVP+H3mo6P/PC X-Google-Smtp-Source: ABdhPJxfnND7HpPceC1uzpXx0XP6oJwV4n5DAJWri6sMooF2XhmePsbBGeWC4HcwLKMXRQxHqBbpNg== X-Received: by 2002:a92:6e07:: with SMTP id j7mr988145ilc.188.1637611448241; Mon, 22 Nov 2021 12:04:08 -0800 (PST) Received: from [192.168.1.170] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id g4sm7765452ila.78.2021.11.22.12.04.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Nov 2021 12:04:07 -0800 (PST) Subject: Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB To: Matthew Wilcox Cc: David Hildenbrand , 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: <593aea3b-e4a4-65ce-0eda-cb3885ff81cd@gnuweeb.org> <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> From: Jens Axboe Message-ID: <7b1e8055-4d25-64ec-5756-848dc4283422@kernel.dk> Date: Mon, 22 Nov 2021 13:04:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 11/22/21 1:03 PM, Matthew Wilcox wrote: > On Mon, Nov 22, 2021 at 12:53:31PM -0700, Jens Axboe wrote: >> We should just make this 0.1% of RAM (min(0.1% ram, 64KB)) or something >> like what was suggested, if that will help move things forward. IMHO the >> 32MB machine is mostly a theoretical case, but whatever . > > I think you mean max(0.1% ram, 64KB). with that change, I agree. Heh yes, that is indeed what I meant :-) -- Jens Axboe