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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21CCFC433F5 for ; Fri, 19 Nov 2021 07:42:26 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AA1A461B44 for ; Fri, 19 Nov 2021 07:42:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AA1A461B44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpwn.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 283BD6B0071; Fri, 19 Nov 2021 02:42:15 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 233426B0073; Fri, 19 Nov 2021 02:42:15 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 122616B0074; Fri, 19 Nov 2021 02:42:15 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0033.hostedemail.com [216.40.44.33]) by kanga.kvack.org (Postfix) with ESMTP id 042916B0071 for ; Fri, 19 Nov 2021 02:42:15 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id B4E5D82D6C1B for ; Fri, 19 Nov 2021 07:42:04 +0000 (UTC) X-FDA: 78824886168.16.17856C1 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by imf24.hostedemail.com (Postfix) with ESMTP id 00F13B0000B2 for ; Fri, 19 Nov 2021 07:42:01 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1637307720; 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=oBuVVC/kgOFHq2yevaI0CpADpfOSmZZoX+AnGukEpF8=; b=uity+CJUCct1Lwq62Wamd1z1OodLsIo/ZRbgo0K59Ny+AUG/j2zgw7g3fKEV1GuGIaqhAT W5lIXaJ63mNCp34bPiaztZ2GZTE/GM9GFUnQ2Tf3E1Pfy8PKx3j29o978w7kYkP4B+p9xk 5jdofR73whVGcZ9CNMwDN6wnJrWFWCKYeNBfjNl/MqZZ428/aMuAnWkGcMaXNDGQ4MeDn4 FfnGuzT8dNQl2pHGa0opar+68OJfAVzoX8jruEdx+HRPXrrGSGAfYMIuAIqGet2oKIVLsf Yf7OzNT7J8eklU60lMw9FqmnGONC+CDYSoSn/y/74f7qW2oXOWU9e4jc76csNw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 19 Nov 2021 08:41:58 +0100 Message-Id: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Drew DeVault" To: "Andrew Morton" , "Jens Axboe" Cc: "Johannes Weiner" , "Ammar Faizi" , , , "io_uring Mailing List" , "Pavel Begunkov" , Subject: Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB References: <20211028080813.15966-1-sir@cmpwn.com> <593aea3b-e4a4-65ce-0eda-cb3885ff81cd@gnuweeb.org> <20211115203530.62ff33fdae14927b48ef6e5f@linux-foundation.org> <20211118135846.26da93737a70d486e68462bf@linux-foundation.org> In-Reply-To: <20211118135846.26da93737a70d486e68462bf@linux-foundation.org> X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 00F13B0000B2 X-Stat-Signature: 6c6xc7g8me6krytzsmizschfyqg5w4m5 Authentication-Results: imf24.hostedemail.com; dkim=temperror ("DNS error when getting key") header.d=cmpwn.com header.s=key1 header.b=uity+CJU; dmarc=temperror reason="SPF/DKIM temp error" header.from=cmpwn.com (policy=temperror); spf=temperror (imf24.hostedemail.com: error in processing during lookup of sir@cmpwn.com: DNS error) smtp.mailfrom=sir@cmpwn.com X-HE-Tag: 1637307721-721479 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 Thu Nov 18, 2021 at 10:58 PM CET, Andrew Morton wrote: > Nobody's aiming for perfection. We're discussing aiming for "better". > > What we should have done on day one was to set the default MLOCK_LIMIT > to zero bytes. Then everyone would have infrastructure to tune it from > userspace and we wouldn't ever have this discussion. Setting aside perfection or not, what you're aiming for is about 1000=C3=97 more work. I'm not prepared to do that work. I'm not going to paint this same bikeshed 100 times for each Linux distro we have to convince to adopt a more sophisticated solution.