Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp503966rdb; Fri, 26 Jan 2024 02:10:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+B/yQpH4isbxjFlPNfVxjaxTatTeuTKM6bnwyUDy8Kk9CPvMIXA6gZsuuIiL7RFKgpTFJ X-Received: by 2002:ac8:594b:0:b0:42a:32c3:345e with SMTP id 11-20020ac8594b000000b0042a32c3345emr1059047qtz.47.1706263818877; Fri, 26 Jan 2024 02:10:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706263818; cv=pass; d=google.com; s=arc-20160816; b=CWJDACHfKEbo08g//ISvw9pixyFV1TBTiHiiO2+ZXfkRXjQbx/Ijh04kv/Vi5RliMf pMS/Jd8h7rQH9FzVTv13hTdQOT5Rg+lUv67QA14JAAyqbmUnKBd5M0hx2zc9XFZK4SjX qVT3Y9JfnCOHP2zlM3+HmCst/hx4Tp7YQxUTK0tNFS+KUTo7cB4VdUlOGiRoQi4XFUXC YNu7jcuz0W6A7cNO3eHi5qhaisytoEgUZqa9RDOf3AjZOHmlLd2jo9RHjY8hlm+fZ6Mz uhyILgK3gMA74TcDA7Isb8DhMOCS9BbB0u9SOYCigilkiuAp92wmEJoXXvTKDglB7uY1 SlBw== 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:dkim-filter; bh=5zl+RvElPeyXc8dtCAn1Ij7w5kurFf0vU0RzJY2hrgU=; fh=2NFvk2GyRPGdnhVphXDMtU+FyXhBU/JG8puC3S3ZmNQ=; b=0ulrQfqiQTmbxA27MrXPyhe54gerDpqS1b0+DEYv2BqkT2bOf+fhvCRVmaprQW7JBw +9mPfrhAPzJ5MGahIEl4QcM2ugFk09Derh2w2MAfnIjMhs3MiwGJBfJozBSZ1ZPNt8KV t5lM7EFv2LAy+U42LGU7XAOSaeUAgR3sUVZ1s/ZDUo1GGz5P4gMctz3rWI5gVNZNvA5f m9jYWAhEsV8BUXYL3EpfR527kcdc1jMddf90kBHzEbhywInrjnCv4hj4+hW2h8XUHFFo nmGcUcFU34EMt4csFEdypdx5KLuXIf1fc3/bGwCFgJ8E5xOiI+zqNMPtk5ENRjqvCZeQ hUQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=lIcsnqVZ; arc=pass (i=1 spf=pass spfdomain=secunet.com dkim=pass dkdomain=secunet.com); spf=pass (google.com: domain of linux-kernel+bounces-39899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39899-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g22-20020ac87f56000000b0042a0c937975si885145qtk.545.2024.01.26.02.10.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:10:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=lIcsnqVZ; arc=pass (i=1 spf=pass spfdomain=secunet.com dkim=pass dkdomain=secunet.com); spf=pass (google.com: domain of linux-kernel+bounces-39899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39899-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 BDD5F1C2E842 for ; Fri, 26 Jan 2024 10:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0350465BCC; Fri, 26 Jan 2024 09:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b="lIcsnqVZ" Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0478F62A07; Fri, 26 Jan 2024 09:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.96.220.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706260303; cv=none; b=eLPZQF5O8HhNzJnlyFzztvSfUOU2Wu1/Yk+lF1IkHVsFByO5dNYDoVj8cDr5/5Otenfekocsw0I84alkGQMTirun+5ysjzWQqGTi8fJoYFyqb8Sagdqd7pcpuFiQq97mYe1hF/nXTcF53L/iNk2NCiU+b035gKWyXYvTsOYfAFo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706260303; c=relaxed/simple; bh=HQvA7txAM0VbjWGr4LJphGRjOmXxRxHM+67/LKlzezU=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EgOF25uYsoNfMmlhMh2a1cWs+XbiMqcYOoURu2UW+B0pmTMadyMHOJ/KgufyD1jhouVJ2Y/2Yc9oCE0WXNgNBZTSlf2KvquKJg1wWUYR14ovd4x6XiLxaS4Ifp4FqFO87DxEdoB/hSzfFSEtj5WFybWp2zmgO7yn/+He0LqNnqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=secunet.com; spf=pass smtp.mailfrom=secunet.com; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b=lIcsnqVZ; arc=none smtp.client-ip=62.96.220.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=secunet.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=secunet.com Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 4D2AA20842; Fri, 26 Jan 2024 10:11:39 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CndKI7aQloY4; Fri, 26 Jan 2024 10:11:38 +0100 (CET) Received: from mailout2.secunet.com (mailout2.secunet.com [62.96.220.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id E66BE207D5; Fri, 26 Jan 2024 10:11:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 a.mx.secunet.com E66BE207D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1706260297; bh=5zl+RvElPeyXc8dtCAn1Ij7w5kurFf0vU0RzJY2hrgU=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=lIcsnqVZMLCHUu2wiQl7KF3cC+kRpjkze2orphN2eMPN1VstOVPHOCA/lI+qVIMCr +qichnp9QpCbPtnlfZ7WouykS/C025RqrNWfTUKYLvGaQhchb0OPV/b4+Wb5b1O5PO XpqQVmDUJEowEij6i/8rm01kL5WguFPViKn/6ZFCMq3U5PpepQFa7ulzGXEF3mn2cX fe/pNmIANdVFT8LqpWagz1vbSn1kjjBF6W4A6k83BqBpPBtd/fvwI/HABHZZgHjZPO qSein44YaUmQXo7aS5V5QMywKlrWQH84FdqxUJvvQUc5yaskaSnHSH8vmoIHpuPq21 1GHiyG3vEKCPA== Received: from cas-essen-02.secunet.de (unknown [10.53.40.202]) by mailout2.secunet.com (Postfix) with ESMTP id DD878800050; Fri, 26 Jan 2024 10:11:37 +0100 (CET) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-02.secunet.de (10.53.40.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Jan 2024 10:11:37 +0100 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Jan 2024 10:11:37 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 100123182D6D; Fri, 26 Jan 2024 10:11:37 +0100 (CET) Date: Fri, 26 Jan 2024 10:11:36 +0100 From: Steffen Klassert To: Kunwu Chan CC: , , , , , , , Subject: Re: [PATCH ipsec-next] xfrm6_tunnel: Use KMEM_CACHE instead of kmem_cache_create Message-ID: References: <20240124063150.466037-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: <20240124063150.466037-1-chentao@kylinos.cn> X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 On Wed, Jan 24, 2024 at 02:31:50PM +0800, Kunwu Chan 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 Applied, thanks a lot!