From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 3903D32C8C for ; Mon, 5 Feb 2024 15:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707148355; cv=none; b=L9Obok5YUjlH1qWiv4e+YTfPkWCeDqO4D0ls+h5+55b5zsnNiKqcR3jPkIavQ21EjV5a6KAp54xcjIWLF7iYrneHNACUiu/lFk6HuCa+s2Uxeclh2GUOoYyCSOrUrBaL3ka6vYabjhr/ZVgaiZy8TAsSOQP0NL2hjQ0kin5j4Ig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707148355; c=relaxed/simple; bh=UFjJ/nC+EO5zNXlJIp90OHpvPbE5H66wtSZYQXKGwQI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OBSW8E2CQn3AFmEHfOw+vQJwISdnuO6PWgeQZHz2yTTprmMgXvqwwgzMjh/7MK0ydGv6dIbLQme1NffqY5k4z2debEiQTkXmZTStHdSkmTgH5kQOACiN5j8TocOOTOo5ZwZfMCcMvwlnjRGrWiuW20cOSjRbtZbDIxuyHGc8Tf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=RMXgJW8J; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RMXgJW8J" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707148352; h=from:from: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; bh=UFjJ/nC+EO5zNXlJIp90OHpvPbE5H66wtSZYQXKGwQI=; b=RMXgJW8JCxW6c1LY9w6nRuqinJH95DJ6SRdonE4EfiMtyC4UI5izQAvRD3hjJZcjWh1EyJ HXYioiDrCEKXC6DOpW79o9zohYHwXQi8ZqzXKUWr24FYRZXZ3jkhL3wqwLd89MaA9uUPy5 npGxObwuRQnqT69+hyAeUD37rbp/Cus= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-507-_LUzxSn5PMO78xc2kKv3Qw-1; Mon, 05 Feb 2024 10:52:30 -0500 X-MC-Unique: _LUzxSn5PMO78xc2kKv3Qw-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a3120029877so577022966b.1 for ; Mon, 05 Feb 2024 07:52:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707148349; x=1707753149; 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=UFjJ/nC+EO5zNXlJIp90OHpvPbE5H66wtSZYQXKGwQI=; b=s447NPYuyoHhrC+1Y0n/Srs52eNvsYQff/YOB9Bd7fJgATYaFvejVvpWc2aJ+Z4omN F+msffEMnU+vt16xHmtvU0zmpeqMkuRSJhoaRFvYLBs8ev3H/uhSGuu84S5+k2ZyGFJV g31kEO0S1jdrG5v4b/r1yBhJZkUi/I3xA/pxtUk5ucE8NBQnTrHR38hlQH0yH7ArwhCP RgvCdNDqbFphKFEBlLPvFC6k6EmkJ/n9elrFXYEIa9MK3YsIBtSrBv7dZgVWH5C1wKuP MYpDKYSJYZW2duyxVDdlPXUmhJQxCM2hOPWUw38O6F4yfpOn4aJmFiy0NS8JG2u5+uNT TwTQ== X-Gm-Message-State: AOJu0YwbxTN0CttJMJEEJKhh59sEz/GZqZqHBp5KcR5kpB9ysshutZzN O2XwesiRFl66Ssuf2DDTqicHUezkWagL3FkwieJY9I9Nd3MbRWExJp6pssgkpkdd56D0HsuFG0S CEIV06H41TZpO89T4zC83HTi7yR3gWleHU673kFOmWkc288n5J1eQEOBNr7nWsuDgU1IaJy0OIc 5ViTUslk4ssFaFExr+XPx9sIctXA== X-Received: by 2002:a17:906:b859:b0:a37:8574:357a with SMTP id ga25-20020a170906b85900b00a378574357amr73248ejb.4.1707148349710; Mon, 05 Feb 2024 07:52:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGweQ2W5Ahsln3HmpeaqfCI7/wF+qkjZUrhH63FkQDxmiB0liJcyKlQZpaeFTaSrxfbHqcmJQ95SQVSD63K9PI= X-Received: by 2002:a17:906:b859:b0:a37:8574:357a with SMTP id ga25-20020a170906b85900b00a378574357amr73235ejb.4.1707148349408; Mon, 05 Feb 2024 07:52:29 -0800 (PST) Precedence: bulk X-Mailing-List: gfs2@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240205085949.439628-1-chentao@kylinos.cn> In-Reply-To: <20240205085949.439628-1-chentao@kylinos.cn> From: Alexander Aring Date: Mon, 5 Feb 2024 10:52:18 -0500 Message-ID: Subject: Re: [PATCH] fs: dlm: Simplify the allocation of slab caches in dlm_midcomms_cache_create To: Kunwu Chan Cc: teigland@redhat.com, gfs2@lists.linux.dev, linux-kernel@vger.kernel.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Mon, Feb 5, 2024 at 4:00=E2=80=AFAM Kunwu Chan wrot= e: > > Use the new KMEM_CACHE() macro instead of direct kmem_cache_create > to simplify the creation of SLAB caches. > > Signed-off-by: Kunwu Chan Acked-by: Alexander Aring - Alex