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 1DC4CC54E67 for ; Thu, 28 Mar 2024 15:36:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8657A6B008A; Thu, 28 Mar 2024 11:36:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 814FE6B008C; Thu, 28 Mar 2024 11:36:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6DD336B0092; Thu, 28 Mar 2024 11:36:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 4FF7B6B008A for ; Thu, 28 Mar 2024 11:36:52 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 14465C055A for ; Thu, 28 Mar 2024 15:36:52 +0000 (UTC) X-FDA: 81946850664.16.1004042 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by imf01.hostedemail.com (Postfix) with ESMTP id 0F91940028 for ; Thu, 28 Mar 2024 15:36:49 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=nm7fSBl+; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf01.hostedemail.com: domain of dianders@chromium.org designates 209.85.222.171 as permitted sender) smtp.mailfrom=dianders@chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711640210; h=from:from:sender: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:dkim-signature; bh=jNozf9uaUn62BQc5Mx2KoSKHOm3OswtOuVbxNmfLA24=; b=GXisUYuptXZeHj9+C+CRVsNieItzPN8hpDhlofKHSlyBgWFp6+8W3x7yEEIKFIXc7E+9EF qhP2V3G+LdFo2ZX6xxM7InXwNH21QNS99tTvOK+HqTQycM6s+Oa+Quc2J4iOvinDcBbSe9 2zkbnkAi2ZzMq6QbgOPwu5wciLlolv8= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=nm7fSBl+; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf01.hostedemail.com: domain of dianders@chromium.org designates 209.85.222.171 as permitted sender) smtp.mailfrom=dianders@chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711640210; a=rsa-sha256; cv=none; b=zlImjAkW8JJGv9y00lOdgrZOLBYK7MMbCt3mpiefTonG+itpiQNMIuIMbljnyzg+Js/4mh jt3UGS3fXQSJKa3tk2Fa7J3X6rf5JJ0OT39PeWEsuPSm87rtkUYTYdVzOYLvGPR/f0CfQt V5w5y6SjXoMROttb9xZkT8oOggyWnZE= Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-78a60d10eeeso64046285a.2 for ; Thu, 28 Mar 2024 08:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711640205; x=1712245005; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jNozf9uaUn62BQc5Mx2KoSKHOm3OswtOuVbxNmfLA24=; b=nm7fSBl+8tdQQs31SWqyXmmO2sobnKHPSXY+vTXqUCkSh2+suBF4u+rmip8s1W10lU u2aserlYc+F2qNplEFEy0Hr1uAxEsqKVfafBqrSpkzdsOsB/QOE/5om2JJqO6MoQs4ws xoSZtIynHvQ31C0EZNCDv8piiLJf4Kw+mkDm0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711640205; x=1712245005; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jNozf9uaUn62BQc5Mx2KoSKHOm3OswtOuVbxNmfLA24=; b=pkYLTvqfwmJ5m+JjOMALh3NJZPm4LvFSu8fmjjobwN4vxEU6UY1J/dilzk9JH76yT4 pq1mRLlybARwnZ+zYb88UIvNavBTSFyqGqMd7ym4N430q6tDw1LqnCaFxanb7IP7k3Ro 1TfTyvq6MQmyRkLk1DryDdxYwY5zThX/5KN9UyEct5p3Lpfhe0YQm5YSSDbRt9UTcHdq 6/jxXGH1pJug3X70lfupU9Vfxj9T/KaUQW7oycge3NNfN0D7MkMHgxMJ6e8oIm+pbBor +vTCq11kpskJAN/9MAAqauTSYKIk2z05a4hk3mV5zttAPQLfRur65AgSkLXAlrYqdflb 9oQA== X-Forwarded-Encrypted: i=1; AJvYcCVtWzaDNC+z6Jw20WPDZ5AkNKSJD12t3R+Iu/vat240NFG5KhVFCiVaFIa2QrlTAoQvaKIj6BwRvAerbHQlHN7N1T8= X-Gm-Message-State: AOJu0YwSwyGgQXDPKSXw4ACsuFbm5f3XjcuKWdopVYcjTvsoShCUrAPb e9J899VcwNLrUW8xZbyF/jpKXDl4e3sSwDMqznsWAsrxqn2XiGOW/JhvZhE0cw/C3yaeOt4/Cpw = X-Google-Smtp-Source: AGHT+IF0COkViE6Rcjs6do1/g1YjQRGxLmSYVm1/w3XBX3bPliYCTN+VUTVFeskbnSDBLJumBVwu0A== X-Received: by 2002:a0c:e7cf:0:b0:698:70ab:24ec with SMTP id c15-20020a0ce7cf000000b0069870ab24ecmr1434636qvo.29.1711640205582; Thu, 28 Mar 2024 08:36:45 -0700 (PDT) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com. [209.85.160.174]) by smtp.gmail.com with ESMTPSA id ql2-20020a056214540200b00696b117a325sm726320qvb.108.2024.03.28.08.36.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 08:36:44 -0700 (PDT) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-428405a0205so381711cf.1 for ; Thu, 28 Mar 2024 08:36:43 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUvoUeN3n01VpU+QNItvXqtNIAIR2VpMuCuMR37n/54YLNkyAQBfRey0hYYB8nklsvvO/I2VZrGKrk92RRIvgtTCS4= X-Received: by 2002:a05:622a:5a0d:b0:431:74f8:8ae6 with SMTP id fy13-20020a05622a5a0d00b0043174f88ae6mr287854qtb.19.1711640203361; Thu, 28 Mar 2024 08:36:43 -0700 (PDT) MIME-Version: 1.0 References: <20240205092626.v2.1.Id9ad163b60d21c9e56c2d686b0cc9083a8ba7924@changeid> In-Reply-To: From: Doug Anderson Date: Thu, 28 Mar 2024 08:36:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] regset: use kvzalloc() for regset_get_alloc() To: Catalin Marinas Cc: Alexander Viro , Christian Brauner , Andrew Morton , Mark Brown , Will Deacon , Dave Martin , Oleg Nesterov , linux-arm-kernel@lists.infradead.org, Matthew Wilcox , Eric Biederman , Jan Kara , Kees Cook , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0F91940028 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: d97iwujokpzcbx49x6fa9981r16yadgh X-HE-Tag: 1711640209-267729 X-HE-Meta: U2FsdGVkX1/4Lmt+3dQDE59MRfWJqzZELnJrZoI5ChvQTszR969JhmyAVrv7QoI3AIZX9EYTp9RySx1lFNBoOPMdCthnqYyMLlrsxTn/xJdtBNGResAN1uxnRe99oWFjYEyTXqFngq0GlI63HbB/Ncr0xN8tvl2Er2AqCyN37ITvhyOYjpU+EpHDN6QPsd1KmclThpOtY4eIE4hZCTgAgG+AbaAC/C+X7zJXJTVd2TLu+NkFHurLv1ppx/gMW9mL2Ydc+aquNEeYq6JaFaooqdlxOWWbKZZSBtUrzHzZ3RdiHipdHPq52SkWX7LFkR7B5AQDFHGJQC9HZt7Mj2pCOzDshsjWGbVTTNj4C/kDG9sRruH6fgFFGA00SAsbX3XLMFAg0KdfWv/o4SDJVNfDednl9gjdvGmlveVufgKGAcpeC5sjyM5RwQmKmE2e2+MTR86ulIJZnxmm7YqcJzIbkosUM47UJfB9DF1o9OuHS2n1BdKR7Jx5lTiHZ9inbTrqQ9iywOyuX0imkKNjX1hNIuIs96MBEGENJNwSKKRuXNdtJwbzPVk1m3RcOAeGiz9vaORmbkDlg99NaTDdUIDy2rL3ugMhpkqhfyK6HreFZLOCD5aZ2xiE9plKl/aPQuXcD0qVdrLMqItCg5zAET94CefHEQ70sD3DgCdTr/mQr2AILwq+QiLPs8Z/Tsl/FhfqmASxKGNH20brOtslZnPyL5kv7/h2DgKv2WMepR45lpkWDX8XfPHzgeCPN/DyjuULA1tngwL0zQ4RgSqCJn7s2SqgKoFWHNTPyu4sjeO+VToPSgw9k/tfOQrQNDOzMsmWk4KD9UDI+VOYSSDR/bjZqO2zaHMUXEqURtzsbLJHZsNas6X5M/0n5EDd8t8Ci6Od6RFdbBkVz3j3gLkl8jwiQ4iJEFb8/xGuJBU9F3ZEKv91wksU3f/gREtGrIF+EFDvFFTPrOLGagFmygt/YsQ xGLZuD9v ZK11v4wijJUgpR8Ho4R2+s3exi7IInwKYSLE9sGcpbp7NJZMP+8VQuz3PFRrd+KqWSxqrJxHcBb9KG1ZHCfNdrReucuqB0MxYRCMJcUALclmX3nIxbvuWwDFj0A== 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: List-Subscribe: List-Unsubscribe: Hi, On Thu, Mar 28, 2024 at 8:33=E2=80=AFAM Catalin Marinas wrote: > > > I'm not trying to be a pest here, so if this is on someone's todo list > > and they'll get to it eventually then feel free to tell me to go away > > and I'll snooze this for another few months. I just want to make sure > > it's not forgotten. > > > > I've been assuming that someone like Al Viro or Christian Brauner > > would land this patch eventually and I know Al responded rather > > quickly to my v1 [2]. I think all of Al's issues were resolved by Mark > > Brown's patch [1] (which has landed in the arm64 tree) and my updating > > of the patch description in v2. I see that Al and Christian are > > flagged as maintainers of "fs/binfmt_elf.c" which is one of the two > > files I'm touching, so that's mostly why I was assuming they would > > land it. > > > > ...but I realize that perhaps my assumptions are wrong and this needs > > to go through a different maintainer. In this case (if I'm reading it > > correctly) Al and Christian are listed because the file is under "fs" > > even though this isn't _really_ much of a filesystem-related patch. > > Perhaps this needs to go through something like Andrew Morton's tree > > since he often picks up patches that have nowhere else to land? If > > someone else has suggestions, I'm all ears. I'm also happy to repost > > this patch in case it helps with a maintainer applying it. > > FWIW, for this patch: > > Reviewed-by: Catalin Marinas Thanks! > Yeah, normally Al or Christian would take it but with their ack we can > also take it through the arm64 tree (or Andrew can pick it up through > the mm tree). OK, let's see what folks say. > With Mark's fix, I assume this is no longer urgent, cc stable material, > but rather something nice in the future to reduce the risk of allocation > failure on this path. It's not quite as urgent as before Mark's fix, which gets rid of the order 7 allocation. ...but an unnecessary order 5 allocation is still nothing to sneeze at. I'd let others make the decision about whether to CC stable, but I'll at least advocate backporting it to all the kernel trees I'm directly involved in. -Doug