Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp733254rdb; Fri, 2 Feb 2024 02:15:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdIXysFxy+BTw0Ed7Bcm3Su7BPbUq32BiM750caiWj8GJqCg2r25HDY7ctOikRQyAutDEo X-Received: by 2002:a17:90b:2283:b0:296:3ee4:c1ed with SMTP id kx3-20020a17090b228300b002963ee4c1edmr1162115pjb.5.1706868933116; Fri, 02 Feb 2024 02:15:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706868933; cv=pass; d=google.com; s=arc-20160816; b=uYLtCRzPuox59R3kzFZqR6b6V95gFXD24aFkJby7cahYafWqWrq29ctol4dWKUYYtM UkhETrYthFfLfF1AjEVDE4a19N6CvGogDcU9TsCIBtP6iUMfX0kyLMmt2ER91/vuRRtS vRgs7HgKWqjFtLIEPv0PIjQOFJqXSPfG+GpYv9jTTOrhXssYGjNzEcbs5jS7VcbeXU/o fQb270ZBJPShareHADpw3/UyIP/ZAxt6fr9qJtHJZG89ZWtQMmIhFwVk/ZEOGhEcWC8Q sZy0wRaAvTM1aBwCghQatOu61n7TnK55k8ob8uC0CgeJ+uwHCbh9J7vTerNml/3UX4GP 9l4g== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=3PVF/9HaV8xodKtKC7jUzRXZVeLpROXAXAVh9VlpwyU=; fh=vSg/5TUfdJpqf0B16jJ6ipG4qQ2z5FGTGvh6mu/0k9Q=; b=aJebkjQoTBHi3Y6qzQSx8qWHggRmWPL0+aBwZNz6/TJ+ETBZ/oYG+xJQx26i3gIONb w8fjjYxJ3/xXavrIGX3lT+uH3oD5E7duJvK1LEL/d6ovWF1RH+dA94L0GFnbd0X0mjdD g5r7fa+ky0PEMrvypgyjfT2EZleGeKdAr82/vDwymxwzIXUoxBrB71XcyXlLZixQLmXK RQHfQ8UBQG5LoAr/VCEmJtzUHCMiVFcaSli+wrEddX3CYffJuDRFlSYVSYSGdSct1wMK C2pKlo2zsu4MCDsKwi/ptebH5WOe3Qt1T+r6MnP6ub9fHExSNPLLFMtQYFeAaeBMUY26 Omww==; 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-49611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49611-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWL9By7Ul3olzV/lqEFGnGgZkI33aJyufsoLlp3YfBa7DVcVcYy+3CppibD/Jhcyr7lhCwcXPyfnqS5cKky82vQ2jK2R0mgu86woiVb5w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x20-20020a17090a8a9400b002962fc7ae6bsi1444504pjn.110.2024.02.02.02.15.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 02:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-49611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49611-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 6A627B3311E for ; Fri, 2 Feb 2024 09:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E93A7A713; Fri, 2 Feb 2024 09:46:56 +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 768087762B; Fri, 2 Feb 2024 09:46:51 +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=1706867215; cv=none; b=DZwNbMd+4QwsuefRBXH+xjA/koBVdr/oHXfmwjm2qskwOBkHnkX6nvvdPQCVSi/mXeWlGORQ8wODwjT4Q1ofF2Vtq+bmjTjrrCB7U0RqoN/b3wfcfNeY1Z5tT02ZqtjflqASY2j2oARbJBe3EDx0p0IMMfbhxmLJCUUJFJ823NQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706867215; c=relaxed/simple; bh=WNz1nXGRiJEtTEPFc3N/58Kj62b4hXYnhcOMWc6UIP8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=URKwLRv314h/p2rx9fqNJcqhf4RjmDD0us3SUn2c7BO4y1RQREAjVsKtUrx05Vp/i7DQ3q0g1XmsZYfKIzpawGzlOfHwd7/+VCXJ+tWzTnR9w1a1nSngdlyrdtzWH71qSdnt7I/XAtRFAdP/wofIPcFKLO/tBJLQrqfjgiVl998= 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: 068a9a6a435c4571865aa591ef64006d-20240202 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:98750a05-eb2c-4d51-baa9-8ecba345d77b,IP:20, 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:98750a05-eb2c-4d51-baa9-8ecba345d77b,IP:20,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:e68c8c83-8d4f-477b-89d2-1e3bdbef96d1,B ulkID:240201204745Y4HHVX4X,BulkQuantity:6,Recheck:0,SF:17|19|44|64|66|24|1 02,TC:nil,Content:0,EDM:-3,IP:-2,URL:0,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_FSD,TF_CID_SPAM_FSI,TF_CID_SPAM_SNR,TF_CID_SPAM_FAS X-UUID: 068a9a6a435c4571865aa591ef64006d-20240202 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 1085833606; Fri, 02 Feb 2024 17:46:38 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 56DB2E000EBC; Fri, 2 Feb 2024 17:46:38 +0800 (CST) X-ns-mid: postfix-65BCB9FE-2849541295 Received: from [172.20.15.254] (unknown [172.20.15.254]) by mail.kylinos.cn (NSMail) with ESMTPA id 3B86BE000EBC; Fri, 2 Feb 2024 17:46:33 +0800 (CST) Message-ID: <961cc4ad-0133-44ee-be22-ba2fbf4ebe12@kylinos.cn> Date: Fri, 2 Feb 2024 17:46:33 +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 net-next] rxrpc: Simplify the allocation of slab caches To: Jiri Pirko 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 References: <20240201100924.210298-1-chentao@kylinos.cn> <1706866812511330.14.seg@mailgw> Content-Language: en-US From: Kunwu Chan In-Reply-To: <1706866812511330.14.seg@mailgw> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/2/1 20:47, Jiri Pirko wrote: > 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. Sorry, I haven't sent a patchset, I'm worried about messing up. I'll try to deal with these similar issues in the way you recommended in the future, thank you for the reminder. -- Thanks, Kunwu