From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8EF16774E for ; Wed, 31 Jan 2024 09:29:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706693349; cv=none; b=qy1R3DISxHJcA9cLBCqoNAYKSUBXbgYHdKkhqbkjWyTFBjlbhpJhK4zxaQE1rOx5PX3QPu52uXQpMlmOw4WsBZb+4nSsQgBy6tTPbCTicWh9R7jilWIgecoCWjIGAcp0cDcpVn00g0lAkr9QuCb/kq/gUQDAVhfW7YijEGXGJTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706693349; c=relaxed/simple; bh=f43fKUriad8uDoZeZk6V7VP3GUeZsSWr0g2dLquSmNU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g8FQmzsr9ba8URIMCfxlQ9lWhavLQQk5EUg9cvEHp+H5hH6ow/EIR+sFZegAkO2G9KF2o3gEhOxZeGY12PnKVnph7I9sn39HHW2zhteagCHFyGe6r/LAZxqEt+whWYnem6gh0xwGV6vimEOAx9gXKM7VDJmCyl3sNImsCRZPj1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=EdllPm/8; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="EdllPm/8" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40e5afc18f5so50753585e9.3 for ; Wed, 31 Jan 2024 01:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706693346; x=1707298146; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=f43fKUriad8uDoZeZk6V7VP3GUeZsSWr0g2dLquSmNU=; b=EdllPm/8J17oq9R3/crIAnK+8S3WFFRMxVjFdt6D7M7RIg78TNb1PmAPN6x+IJCFGq djaPW2JW/C1QV9N/po6BBwHr4AU+srLZJ1zVV5C6vpNgeL6xb/EZgQL7+UcmdnnDPL6S mTv1FAOVzqlp9DDwHPQt2Tr0h0ZumW+OEQnqkdu0tjTuYKeWgD+VAzYazRI9pbqvb8iH cT3fcbmZzlQLXsd9x7DsEBdi5OuoTMst703u9SY8QUhhUiYH+wyriG9C4HgW3zNxeUP/ t2IXaKvy/2pSGIaSAgPFHYZIZGID7chf/UzcWKHnAV1DMcSSxfaK7g0Uxc1oqXyOlVR3 0a4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706693346; x=1707298146; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f43fKUriad8uDoZeZk6V7VP3GUeZsSWr0g2dLquSmNU=; b=wLxmsPtHOUTAr/UtLLHeLio458C0fk1ZRVGGlmMbgDh/mxs3kiTNJrYM8GghJbwv8F 0UNn7e1XZQEZTU2s/lqJ3RDwPcvW6sRDdDIwSDc7qOLllJiREi/NchWWr/HUEYzc40fQ kEfMlUDgIdCdL3pT3V4qR+XVDzB1VnAG/hm5z26LQ9dCJDMBiANscFPky57AGlRxd7Ri RTCw36JfKSOBuYiMqpELu/bzlpJE29tzpC/dzLFmuiKToDfaxBSWamtRvJeF9GaalFMz XwkGOZhf8YX+v35KSsjkl8zjx2hTUzwAR/VpLS6ZfeB89gUjHftA7Oyalhh/2u189iMG QhFQ== X-Gm-Message-State: AOJu0YwlRnBgA53LFkObzfnJlboSpGcS3x439K4FM0WgqUAWdOdrlYUR AMfcaP804z7+fLZjGwPWXgxanxKltqNCuLNB1BiAD+saHISTAQkv81dcl9FX0vs= X-Google-Smtp-Source: AGHT+IEY2lXWkefvxzH893aZoC/yJtLJWaibwPImgr2nOy1n6RN5x75B2Avq9gwETOse4c3xNrxmhQ== X-Received: by 2002:a05:600c:450a:b0:40e:622e:7449 with SMTP id t10-20020a05600c450a00b0040e622e7449mr725550wmo.22.1706693346221; Wed, 31 Jan 2024 01:29:06 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVyfO36vqppt50qgUDOESB2a3qrfawNZwydoEBbJCI2JFg2TkSMzceQG+yb8LZPQSoO4kGRBL1+yY176OY4Z/b+KmamlIS3odBxf6UcJ27Hq4EF6aJfpHGtOeLTCZhO9oN2umde/v3UImFWthmDH5Xoiv/XqcV9dmzMTMpWTbBCTMXyBcLltIfas4oEUjKtRDE2aw0UMgmrSbi6inIFA8grw6yf+HLvDwwjXVuWQoYBvVNVwk1TQTw5qq5yNBGoPB+FFX2/9g== Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id b3-20020a05600003c300b0033afe6968bfsm2433573wrg.64.2024.01.31.01.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 01:29:05 -0800 (PST) Date: Wed, 31 Jan 2024 10:29:03 +0100 From: Jiri Pirko To: Kunwu Chan Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dccp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: dccp: Simplify the allocation of slab caches in dccp_ackvec_init Message-ID: References: <20240131090851.144229-1-chentao@kylinos.cn> Precedence: bulk X-Mailing-List: dccp@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: <20240131090851.144229-1-chentao@kylinos.cn> Wed, Jan 31, 2024 at 10:08:51AM 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