Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp98960rdb; Wed, 21 Feb 2024 19:10:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUXZSvgEB8w2TVIs6M3wH8BzbXkaLWDwcQnvrsItzGLET9rFZ8iK9CU7aXpElG9GcMlKI62CsLdNNFc1CxKh3t2yeaZ2eJFS8GBj7waPQ== X-Google-Smtp-Source: AGHT+IGzB9v1213nlE+8QWxVzplSchijPZD+bOPahZMycPfQkQfE8ywwUGHqp95YsU7V/h8QhReN X-Received: by 2002:a17:906:3b0a:b0:a3e:9862:a8ff with SMTP id g10-20020a1709063b0a00b00a3e9862a8ffmr7296176ejf.6.1708571440489; Wed, 21 Feb 2024 19:10:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708571440; cv=pass; d=google.com; s=arc-20160816; b=tDPDnnHTs2SLK9+r9xv8cvKQpK9N0eNPLeipzVyjPgF58+Xu1tNbQV8oxZsrVSh3W7 GYVD4pShgGgjSmlJ92/mIVKllPHqef3aqWONFjhXZ3YgoPEAhWsKjk+kOSQLCFdYB0FI Xx9UxMsDT9eU1j0Y3MugDwxmpPw2zwyIgAEfphfQB0TviudqlpzxWwDyg9ZaoT5JiMR2 cATVPZUO2VaJEI8bEzaSxRtS3/yZKY0j1+I+gEdn1gAW0YS3DUMQX/C+Z4vapOb42DUV fGVbojz6om60foP9tiveOcejojrFPR88RiXTYk9XEuC+KHYrerQ0TSWAPO0HX0Kmp/XH 3T5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=jtc2vLthLRloTQ4hVELPxDeqN90z4uvNQLiFJ+yvrFM=; fh=5OBnc7V9l05fah0WYvLHQvoo0UjiJUyuSmCK1L9MDcs=; b=wQq+UFAoylrSdK1wZYSKx4V61ivnyRRge1ptPUqCNYUjA2YgncluOZNAq+mHYpeszj vn04vanWPVfWjaFO71c4vfgJ7m1KqpP4qlQFlpXwJRPMp6EYl2o/YBSL1nWfeErHAdIb 3j9vVdCnXKUpVWXq3SuVWf0HV4kYFmLxncEhvBqzi5jli3p5zJK3EcuLmCRuQ59IcnnA JLq35XGyQgc8z6/aUOp/ckigggzCZYN2f48lxctc512QHfWb6uay7J0unZFf81k+j0sq 3raHhW4x2AIjq4G8Y8Oe9pQpv2DcEbGwK+CWqoELRWQTa49xcaJ4ekI4VcXQKtLdNr86 sJhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-75836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75836-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id go44-20020a1709070dac00b00a3e544f1944si4059958ejc.1021.2024.02.21.19.10.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 19:10:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-75836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75836-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4372A1F23ED8 for ; Thu, 22 Feb 2024 03:10:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD8F617562; Thu, 22 Feb 2024 03:10:32 +0000 (UTC) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (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 BEF1828EF; Thu, 22 Feb 2024 03:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708571432; cv=none; b=EXCnPfc3912ytgTZP2b0q3u8kyoVxPDRK0ieLonhIY1NZw8E2Q1ab0K5gspXQJj1+us3G8fYrVpylQrXCmbOM0oj31zdfnvCBK1XwVY+24kyT0pCHDXNe2l177S47sLUsxv9Rli6Pc0n6XcrM7rx91j0Ab59nyaoYeMiuESRfFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708571432; c=relaxed/simple; bh=pNvK4W4frFwecBIJ1eApe6zX+NJ8P2bgljcbML4h0ok=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fJw5TXtnOMCQDOmUFDViwh8OFX7O/Ib39WB1E7C8r8tFSuiM0vaRpgBbNtEBWXErp26ePj2Hbg1OhGmTdVnK2iDWUSopUywKwv6pCFtMhmTAVh5fb8gCJWWCZBxW9BVW2tLnszQgjhXAd30DvUyHlnAmeKiI8BBBPTnfPMmzneE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 93d72cbe477e4e478c6f879952b6d78d-20240222 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:5ddc4006-ddf4-44f1-ac59-e642fbaa7fcd,IP:10, URL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:-5 X-CID-INFO: VERSION:1.1.35,REQID:5ddc4006-ddf4-44f1-ac59-e642fbaa7fcd,IP:10,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:5d391d7,CLOUDID:18eb2b84-8d4f-477b-89d2-1e3bdbef96d1,B ulkID:240221200127QCK9AEFP,BulkQuantity:5,Recheck:0,SF:64|66|24|17|19|44|1 02,TC:nil,Content:0,EDM:-3,IP:-2,URL:1,File:nil,Bulk:40,QS:nil,BEC:nil,COL :0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI, TF_CID_SPAM_ULS X-UUID: 93d72cbe477e4e478c6f879952b6d78d-20240222 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 2047731242; Thu, 22 Feb 2024 11:10:22 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 25B05E000EBC; Thu, 22 Feb 2024 11:10:22 +0800 (CST) X-ns-mid: postfix-65D6BB1E-63643304 Received: from [172.20.15.254] (unknown [172.20.15.254]) by mail.kylinos.cn (NSMail) with ESMTPA id 48675E000EBC; Thu, 22 Feb 2024 11:10:20 +0800 (CST) Message-ID: <43434831-48de-42d1-9f2c-04520ea54534@kylinos.cn> Date: Thu, 22 Feb 2024 11:10:20 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/6] btrfs: Use KMEM_CACHE instead of kmem_cache_create Content-Language: en-US To: dsterba@suse.cz Cc: clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240220090645.108625-1-chentao@kylinos.cn> <20240221120030.GI355@twin.jikos.cz> From: Kunwu Chan In-Reply-To: <20240221120030.GI355@twin.jikos.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/2/21 20:00, David Sterba wrote: > On Tue, Feb 20, 2024 at 05:06:39PM +0800, Kunwu Chan wrote: >> As David Sterba said in >> https://lore.kernel.org/all/20240205160408.GI355@twin.jikos.cz/ >> I'm using a patchset to cleanup the same issues in the 'brtfs' module. >> >> For where the cache name and the structure name match. >> Use the new KMEM_CACHE() macro instead of direct kmem_cache_create >> to simplify the creation of SLAB caches. >> >> Kunwu Chan (6): >> btrfs: Simplify the allocation of slab caches in >> btrfs_delayed_inode_init >> btrfs: Simplify the allocation of slab caches in ordered_data_init >> btrfs: Simplify the allocation of slab caches in >> btrfs_transaction_init >> btrfs: Simplify the allocation of slab caches in btrfs_ctree_init >> btrfs: Simplify the allocation of slab caches in >> btrfs_delayed_ref_init >> btrfs: Simplify the allocation of slab caches in btrfs_free_space_init > > Added to for-next, thanks. I've edited the changels so the name of the > structure is mentioned rather than the function where it happens, and > did some minor formatting adjustments. It's ok, thanks for your adjustments. -- Thanks, Kunwu