Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2312926rdb; Sun, 11 Feb 2024 23:43:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1QDNceK06mFk0cHpq70bg35oC9X7VY7nz1XNtQyL+7WjsOzVEWX5u9NBln139yfHz70YS X-Received: by 2002:a9d:7a46:0:b0:6e2:e032:42d9 with SMTP id z6-20020a9d7a46000000b006e2e03242d9mr3427751otm.30.1707723827154; Sun, 11 Feb 2024 23:43:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707723827; cv=pass; d=google.com; s=arc-20160816; b=s4YnnldY/LFTvCSY6eEpXnfCjIGcd9K4fNwP7hYI1vZ37jO57Fwms6fXyDMcKcgZtN 2BqiufoERs5s3RS53tnQfxXbLnjGzv6TicInjfqO6WrDTBRh5pv3syoUE92znIcPSXiw GGv0tC60ZgReiSc8G2yiNRVWRib0tbVGIzSkSMU822RmFNewlUqDtwfejU6Q9TJr9EnF K0ZNIoqfJJZe+5aUPrcaNkjGOHoQ5hKtLrO8KgT8TTQqWQGyzReH13A2mcy1sfed9VR7 b8S04xmtQTaZRBC/ytKQyLquhOJugDAtNOMrsenUBDCjhXw7Mwl7CwvdjAUgo9PhPcFS 5S2w== 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=3t1gV2cOKgnUmqc2SniMGhWo502DwVW3SrQpMQqI5eQ=; fh=YQ8pmRhjaepX/fnIPACvhc3eLqFpC3fiGl9PDRKXPYY=; b=jpYuqtpOU5Ec4EE9K5u3xOq9zDu/Rk4nWT/vNc+Icd9+9vw4JQN+8dla/CrGup2LGV T3vcxnmzW5Mie/yMHqRdIEOdHPm9VGh2qQejIld1YpI6v9oqImljGKfPOpOzLehKFdzC ozHBDsGLDBTrZFjXuWnP0InVReLLtXUgALdTuNBbc7oKEe9w38Zu+OAgqmxehl+P3DGI gvan6BzvIC7/QBQHC4TX+f5t+uFbotNxWKVubeCyKCeOM5XJRXvNV9nJ93wjebfKS1df bfoSkz9doB/vHlP2w0za92MWD54PKk7oYaUNsXF+FJmM4i7S5yOPZu3zRYBeRXvFKexY YgIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=Ki19R64H; arc=pass (i=1 spf=pass spfdomain=secunet.com dkim=pass dkdomain=secunet.com); spf=pass (google.com: domain of linux-kernel+bounces-61148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61148-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUbwOS3ubJVPo6XOh0rNGBza1ju8mozDNbiZOgjpVCMKYxQjnazWbcMvs1c9XjX6ogN1qQTqwVHQ4t8XUvUZIylvPd5eJ01M2qK/sk/ow== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t64-20020a638143000000b005dbe215856dsi5775891pgd.765.2024.02.11.23.43.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 23:43:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=Ki19R64H; arc=pass (i=1 spf=pass spfdomain=secunet.com dkim=pass dkdomain=secunet.com); spf=pass (google.com: domain of linux-kernel+bounces-61148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61148-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DC1F9B2626C for ; Mon, 12 Feb 2024 07:22:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05B4F749F; Mon, 12 Feb 2024 07:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b="Ki19R64H" 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 9C88B622; Mon, 12 Feb 2024 07:22:28 +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=1707722551; cv=none; b=mbyIJ9pAJMwjUu5eic0CpRmuE/YauJZvNZSWLa42YvdkGYFYfl9YLB3epoLIoIVMSuuesALDfvfL76BdMRj9/G0tlA45zAChmZvIJRd4zxRbJtCvpHYpWLqDyaUjgp3q9Wqal29szklEktG/7egY3xlUK+kJz0C0tWYFe4ZWEZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707722551; c=relaxed/simple; bh=lwrRp5G19JyIvm+Wrsx+NBHF5BsWVaBmX8TSM9AxBlE=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qzbtLiDYxfuTiFljyQkuncz8wHqLbxnfrjM0grbhUIlQEuPV7qDa+u/SiPO/MiuO2sHJdmpeMezjskEkil62+v2B8Nww7tyYyqhRN9P6lEpv/pRynahbtMUHUX1wKqqynWUQAlI6ex5zmGgStK/gN6qofLKWwQFHlg4ZWZCiD/4= 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=Ki19R64H; 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 F18D62074B; Mon, 12 Feb 2024 08:16:03 +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 HBs_BmY_KVZ0; Mon, 12 Feb 2024 08:16:02 +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 0780A201A0; Mon, 12 Feb 2024 08:16:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 a.mx.secunet.com 0780A201A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1707722162; bh=3t1gV2cOKgnUmqc2SniMGhWo502DwVW3SrQpMQqI5eQ=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=Ki19R64HiBZPTaiMDw5Tje364b9bNijS+2P9LIx4worDUFdeQ2lsHiHCsyUK8OJJd rrOTaylF5yLuEwSd/AdsIreG6sdXFezK8uEZ6X94XpARoqng2cRfzEF4QHPS17hm3T iCGJIjq5u2csxCx7tAf1UybHgQL4ly/bavwGWPq1r3nLeyb9g6ft0PnmgLNTlGPm1m 5B2SWSFac2Lju/Lobc114RYzomZmrekqKSH+OeX3DlYovrUUA9x+hlTyttuEgT+nZx ULl/SP02jsUz6qIvuQgwrKwOkPG6vLv2Qr+CviJmbTJFeSOctatcFHKz3J8ocUT7Ej duoMI61b23fvw== Received: from cas-essen-02.secunet.de (unknown [10.53.40.202]) by mailout2.secunet.com (Postfix) with ESMTP id ED4BE80004A; Mon, 12 Feb 2024 08:16:01 +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; Mon, 12 Feb 2024 08:16:01 +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; Mon, 12 Feb 2024 08:16:01 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 473D9318299F; Mon, 12 Feb 2024 08:16:01 +0100 (CET) Date: Mon, 12 Feb 2024 08:16:01 +0100 From: Steffen Klassert To: Kunwu Chan CC: , , , , , , Subject: Re: [PATCH ipsec-next] xfrm: Simplify the allocation of slab caches in xfrm_policy_init Message-ID: References: <20240130081411.58246-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: <20240130081411.58246-1-chentao@kylinos.cn> X-ClientProxiedBy: cas-essen-01.secunet.de (10.53.40.201) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 On Tue, Jan 30, 2024 at 04:14:11PM +0800, Kunwu Chan wrote: > commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation") > introduces a new macro. > 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 to ipsec-next, thanks!