Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp525184lqh; Thu, 28 Mar 2024 08:37:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMNcfmGc4S3EZn3JqrvmzJqzthZ652hrQm+hX5QZb/OXrppTro7P+a8N+vZgZWYLzMob7d1SsY44KVqnoMooo/a/e/JpMGsSARH1+6dg== X-Google-Smtp-Source: AGHT+IH1Aopv61rH6/pJwfQbpYIKQIJn8aXqq4iibd/DVcth3iVS0J2ERXxZ37E/rWCq+n5F9kJm X-Received: by 2002:a17:903:2284:b0:1e0:f5b7:d6e8 with SMTP id b4-20020a170903228400b001e0f5b7d6e8mr3624836plh.61.1711640242386; Thu, 28 Mar 2024 08:37:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711640242; cv=pass; d=google.com; s=arc-20160816; b=Z2k5oqeFa+YsnFapeYN4HAoTt+f4DcqvZd2+uAc7BICfhShPqyY0ZiYgAeEQzA75Kf 8DaCkJVGxaFqNPcLIpfbjseOsdZTNQW8ZKZa7jrzE+6TG1mn1FNy+54OAg6WJq0t9xiW gBYuma+p0IslwZCvuQ81FU0y2hbn7F4jSj97OCgQR7tKblp76OL2uDAxEYcyQfmiS85E t97pY2DO7Rcmn2O42V1zVU089tBSjhcIQIri2LMnD4IxeczE6Lxo/2NcCDHMgqH/QWdO qCiJlF1lPudqxFdzZp36GHmVK7tPpAPA9GwYc0GL8f0wczM2/mHuZ6vFwlxihPdy5mYn CFjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=jNozf9uaUn62BQc5Mx2KoSKHOm3OswtOuVbxNmfLA24=; fh=sQ5LO9kZQ1++c0dXikA05twfumitF8737vWQAkSlGGk=; b=yw3vPo7COrcNJ4o1R+Inu2TQxYQ0EEJq4mguOUM7JlvAb7iiIJ8cNErZ/xlUcPGyGC giVjdOolROLPIOgGHnWRlfPv0kX8SjqE2PYjTWHnyiQQiggpg7tgqmw8aUeJOm5f4bWu ZjdC1UV6HFjuT7ZVCfeu0QHCFliHohnHIZEbmZK2v+ry+hdS9AaePmiCW9I5zS1HkVqe TuR156/6TDKNEf97RsK8oJ33KfyaK/Uf7Z6WSVf+hSLRUeHQwmRs8ueSzYSWetf6Lbip eAYYCGFfIag2MZ11PdEneX5evqbpEuook+zIEw58vqm6OQYiSyoDp4ZnBjStIFgRoafO kWKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DsewIpLf; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-123157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l16-20020a170903121000b001e04ad0ec24si1694858plh.326.2024.03.28.08.37.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:37:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DsewIpLf; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-123157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 908B1B229CE for ; Thu, 28 Mar 2024 15:36:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 703CA12FB2D; Thu, 28 Mar 2024 15:36:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="DsewIpLf" Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 121E61EEFC for ; Thu, 28 Mar 2024 15:36:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640209; cv=none; b=aFrNbVmbnS3bU0xfIoiKc7Yfrzybi8RicBci2PyH380pex27E4d64ijvSMUg9fp9DM08l7JncukXVdtLqiTb1yU0i/TsEVKzOpRSkfxD4F3Rx5EYwilPVe/YIf8cWMciaqG/NCHZKVfTQiXkekqXClwow+sgaDdrZPlXFncunTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640209; c=relaxed/simple; bh=jNozf9uaUn62BQc5Mx2KoSKHOm3OswtOuVbxNmfLA24=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=XnrKFxH0K6jqYcutbQCnG9kZU9R6StghEyuDtEyZ3dxybiQKO7W1uRFIKAaYmINaVmegC5/vrExAlpFPGv27cO5XSqDLMoOi54CBJgwmtMtp2gVwHe2c+4CNUinjnKaFnQxOqCfhUMGqB7JXhLN8a4kV/YSkOYaixz0Oghv1+8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=DsewIpLf; arc=none smtp.client-ip=209.85.222.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-78a66ba49dcso69476585a.0 for ; Thu, 28 Mar 2024 08:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711640205; x=1712245005; darn=vger.kernel.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=DsewIpLfp6Az2N9LqNhRIYkXLHot1Du0xOXIF96RyarWm1+VcG96BT6yNiGLtWov8m OqhU9vcTKO+P+WHCcpPKLc4kzeIVKR2U9uLfjHj3naDnlt1uk083cIwcZhPbE0H8/PW3 3tKYuL9HClXc2IIx0GqWMyo3tKwZW2uNFlsRA= 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=TKMO8evPFa+Zweti56Vf6msICtF/TGDU+GnBsMFizW9rzb5XcFVGTOch3pzqqVi3OO EaGwo8DDRfW49LQzsvCJEdqtkiKsN+0I7Fgr72z0tQaeovciUHPwF3Y8C2bXZHIFV7lk 88x7yPYM4gYlIehWxp9v7QG1x1rDy2dSpo6RlmPneThM5Oz7jgPOVAIw/SiRcxthFFq9 ZET1jdbeqLbLBrS5mGxRcPe/qSPTZZLkVjlXfLQwaHJqZGKmh8bMPeukQZjRQMLSDkg8 BnXEUZtVJRO7ZrzdnTvdipPg0atmZtNJdIqC5hRVZuTiak0ow/C2DDWxERaAsXzO7ljp eDDA== X-Forwarded-Encrypted: i=1; AJvYcCW3zDfT6Xxy6RnMMUMEJnwuSTYA4K6tT7mp6wlLbIG9GyQYhivhkfh1eLuR7+cVt48rwEgeHO2kIgeYBKHg80ALyJ6/k9lJWXNCMlwr X-Gm-Message-State: AOJu0Yw2nnDKHfMcdGURJJ8gsKDN/a6IoQlGcrfzgtZrfZ95G4IqwFzQ xtykWBKEtbMrOWMg3E5PzQPkX5dURgEn3qsmIpvDpIXIp3GykvPaWvn3b/nwKQueBAJjnjjkUnI = X-Received: by 2002:ad4:559a:0:b0:697:2ec8:55a7 with SMTP id f26-20020ad4559a000000b006972ec855a7mr2845151qvx.65.1711640204861; Thu, 28 Mar 2024 08:36:44 -0700 (PDT) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com. [209.85.160.170]) by smtp.gmail.com with ESMTPSA id 11-20020ad45b8b000000b0069895b7df25sm337612qvp.84.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:43 -0700 (PDT) Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-428405a0205so381661cf.1 for ; Thu, 28 Mar 2024 08:36:43 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVR2zNs0xyl+Px3XsKfW5KHp64iEz3elrI28CzlqAWANXkfx4cAbZzNhVqfbVfuCbjnewQGN+NTbKJuPOeKwGzRhV0INRPV0blpgoqS 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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