Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp192356rdb; Thu, 1 Feb 2024 06:07:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtwjJRGQIHL4AVEKdglPbnuB6TFE1leZRQeAd9dU+3zE0D7MxuuqPASaTP3BeieqwfSMSd X-Received: by 2002:a05:622a:138a:b0:42a:b139:eb86 with SMTP id o10-20020a05622a138a00b0042ab139eb86mr5225727qtk.12.1706796437391; Thu, 01 Feb 2024 06:07:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706796437; cv=pass; d=google.com; s=arc-20160816; b=bV2Bv4q6G4yK+/2KnNBkZxjHlPVx2FY4WMI8DGQ6237/SFylTl5SYIW2DARyw/UfRO ovqY1+7WY8J6De8E9PtBd0iFoj5ciKWgJe2Z6HR6fXdJSad/B0a0eDpcLZotOUfEcHWD UV+fVoZg7a5UWxrdKMrdKyyk8eOy3naKbRdR6PHCLzkucaCk6eR2s+m0v42kZUAlmSLT FYcQkGSUAJ8fGvg8jhHhqZo1HwuBOZYQnc5Ni5EN0RAZr6ybOLbpnSFbXBY98UhkdWZd aQmQKPfFNnN4LOmX6zmNrVddROirEyLK6jzqloookLU34SioNwAw2yo4RK4GKzgpvmb1 GE1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SrCCSDqnT83NBejFDqLvZhNBdZEM7c/GDlvAag2DkXA=; fh=ErCjA7VGi93FIqAY4zaKTI0aH9LLVERvHnSHL+Gnf4s=; b=e6kKo/1glF3Qv781ESrfnvBXm2seJFgwVZ4em1UeKSQqJAm+mWIMa2VaU9uQ4bwDJS CxThZ/D/UFPkzX7rcQP2eTd11FV72yAFBEhSCrK+JBNQJPAh0wEdij2e0EXFoZsSn6Vp teXdaCh3Vr8/KJVbvTFYROFV2PAIpJoEweztuBdhPVLCG2u2c+RGTPjI8KLSJyTVqp1e JD75UxfytPQmmisVqzEapUMTDxKA3an5PzKBvQewlTWPziTs8HulYQC1Q8O0p2v7ZWFa VhRfWhh0HsckX1u7QvM9N333IHvcqYw00GhgyMfmJu/8CigKwycG0tdhtkBC1twaOzLu t1GA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b="aI1/fiHr"; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48154-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXObS0JoBT2op3uYHKcUVa7Gwe10piBwfsKYHmuZvhlSP1b1kxRFSfHNv/WfBjEfQG6NgqQAcpTd4g0I2WMq5TDT6IHFotSlmCx1R9/3Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l20-20020a05622a051400b0042a4e68ab3esi14600979qtx.749.2024.02.01.06.07.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 06:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b="aI1/fiHr"; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48154-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D6D3E1C23E65 for ; Thu, 1 Feb 2024 12:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA9C22135B; Thu, 1 Feb 2024 12:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="aI1/fiHr" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 5A2791DFF3 for ; Thu, 1 Feb 2024 12:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706791654; cv=none; b=TnGqbyHItI+ugMdlmaduTMjkgWd3VyBmwPtoqnX/Cs+HNZsEm1mSJG9qiY1qKkwXZQMyaOlNQqjlFc1Zz6OC+C6hpXOi96ZmiGm76B6SWoto8w4NSOwMDnAkhCW/f929qS194tbyY6Qa+Bb6DZSrm4jlhT+Gk6zi3dX1kOeM8M4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706791654; c=relaxed/simple; bh=SrCCSDqnT83NBejFDqLvZhNBdZEM7c/GDlvAag2DkXA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bDJTA++zf6OvWa+I3plPcCxXRpnhva95BFMz9AwDVPaVeIluDWIr6k7wUnsjv/+PcfcbwAenu/qMhy/9cKUEBiR1ZiL5D4JGBMZb8OlZq9N//j72dDaSepgS0crSSMxGeAa1xpMCbQpBcP4hn3NxnaNNVwg2A27FC7SKuwdMkkc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=aI1/fiHr; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-33aef64f702so507199f8f.3 for ; Thu, 01 Feb 2024 04:47:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706791650; x=1707396450; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SrCCSDqnT83NBejFDqLvZhNBdZEM7c/GDlvAag2DkXA=; b=aI1/fiHr6NErtr0KIAfc5sKxYgbxdGCNb05/KAC6/UbWsuUxsWYLM0XNT90TQLTm54 CEkw32xscbGCB2SaZfxUr5AoGLoETQL/VDk9FyzDYszmn3UN0FWOW32yEMsZJzE7intX e28UwOGOi/aVK9gL6i+0hkBHokLASqE8fzpCA8r7vrg7iyG9906kdnYLymmQJu7KptJQ 0m85+kIfrDt1ZGbMcfs0zB8/2yXWv++Prz1Y1dti5xanRSQxPmjcpUE5bqckoj8kOUT2 OOvakqwgHqLG4e+zZXNX4WvHv8JtAaouY52gpSODD1FvUIKuLGb30ltSzQ7Q0sGEuElD ctrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706791650; x=1707396450; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SrCCSDqnT83NBejFDqLvZhNBdZEM7c/GDlvAag2DkXA=; b=qiuA3OtbNJLJo64xqcnGciCwyD0fOX8fiSOGFAvNzg1O2uF0ZeujMr/FnArtd290Sk WD6b6blEQyAFSy78OUhSoqZOauMOZLPvf5+bjMDVpitXZL+uLFBgl7gD3C9an8HUaw/i 2Siusy0EkZn6cbCx6W8kpyHTDy6xSS61A2SgdohcESHORfrXA6CAgq6yfX0cHrKY272X N9bY6mZ1Xmy1MAOMQSftKCn7Qm8IAair2C4wrRLq13QDAgn1PHJIBi6Dn2ZfSKzD4gKY 4bTqbP246ZD0Ck252mYp7JLKJgyYuCJiEUgtfEu1VKLRZzXXU5orlV/yQAFUR1D9iKne c28Q== X-Gm-Message-State: AOJu0YzjMGCMToCKuKmr+ikRdSY/JjuMWbbc/gsOhjb/X8Zx5xKF3tcM esbiW5oMS9N7GDVnH+V0tKB4Z5H2kYkdFC0Y1qx3agRjgZZUZAN0kabjI59BKFQ= X-Received: by 2002:adf:ea8f:0:b0:337:c73f:db0f with SMTP id s15-20020adfea8f000000b00337c73fdb0fmr2765113wrm.41.1706791650430; Thu, 01 Feb 2024 04:47:30 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUgoQNbt3yJXfH7E2BOIhJs+AzgLHGcMAQhcPyICRIlMkpiRP+/hBdsENkApsvxCAuI0g5AIskYnAXSr1M3h6H6fYbiWiRNBlZbRHylTt9VQNK2tpJJHRnCrXl6tBMvajWkywnTWDaLOv5ZVbW5CBODV4KYYQbc6m/kUGz6gOGuwkfOY9KyISmHgR7JDeP717oUvPtbwGA+QFhnWQ4XrKEdEMsHeMYtfC4274B92qU33D9O7GF0muyY5+6gGjZD1fk6DHmEGszC0NGSxVi922d6Z0czanKQA4XTc2jexMJOmlkoKjwpTZR5rYWhpKbuIIy5h38SKqC6VkjQyxmk Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id cw7-20020a056000090700b0033afcb5b5d2sm6653298wrb.80.2024.02.01.04.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:47:29 -0800 (PST) Date: Thu, 1 Feb 2024 13:47:26 +0100 From: Jiri Pirko To: Kunwu Chan Cc: dhowells@redhat.com, marc.dionne@auristor.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-afs@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] rxrpc: Simplify the allocation of slab caches Message-ID: References: <20240201100924.210298-1-chentao@kylinos.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240201100924.210298-1-chentao@kylinos.cn> Thu, Feb 01, 2024 at 11:09:24AM CET, chentao@kylinos.cn wrote: >Use the new KMEM_CACHE() macro instead of direct kmem_cache_create >to simplify the creation of SLAB caches. > >Signed-off-by: Kunwu Chan Reviewed-by: Jiri Pirko btw, why don't you bulk these changes into patchsets of 15 patches? Or, given the low complexicity of the patch, just merge multiple patches that are changing similar locations togeter.